[Frontend] Support strict MiMo-V2.6 tool calling (#58019)

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: yuchuan <yuchuan.7streams@gmail.com>
Co-authored-by: Bugen Zhao <i@bugenzhao.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ubospica <ubospica@gmail.com>
Signed-off-by: yuchuan <yuchuan.7streams@gmail.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Yixin Dong
2026-09-29 12:47:47 +00:00
committed by GitHub
co-authored by Codex yuchuan Bugen Zhao Claude Opus 5.5
parent 79a0307d74
commit dfc8e0f3e2
17 changed files with 243 additions and 15 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ lm-format-enforcer == 0.11.3
llguidance >= 1.7.0, < 1.8.0; platform_machine == "x86_64" or platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "s390x"
outlines_core == 0.2.14
lark == 1.2.2
xgrammar == 0.2.7; platform_machine == "x86_64" or platform_machine == "aarch64" or platform_machine == "arm64" or platform_machine == "s390x" or platform_machine == "ppc64le"
xgrammar == 0.2.8; platform_machine == "x86_64" or platform_machine == "aarch64" or platform_machine == "arm64" or platform_machine == "s390x" or platform_machine == "ppc64le"
typing_extensions >= 4.10
filelock >= 3.16.1 # need to contain https://github.com/tox-dev/filelock/pull/317
partial-json-parser # used for parsing partial JSON outputs
+1 -1
View File
@@ -24,7 +24,7 @@ timm>=1.0.17
amd-quark==0.12.post1
tilelang==0.1.10
# Required apache-tvm-ffi matching tilelang version
apache-tvm-ffi==0.1.10
apache-tvm-ffi==0.1.11
# Required for faster safetensors model loading
fastsafetensors >= 0.3.3
# Mooncake transfer engine for KV cache offloading/transfer (ROCm build, published on PyPI)
+1 -1
View File
@@ -1319,7 +1319,7 @@ word2number==1.1
# via lm-eval
wrapt==1.17.2
# via smart-open
xgrammar==0.2.7
xgrammar==0.2.8
# via -r requirements/test/../common.txt
xxhash==3.5.0
# via
+1 -1
View File
@@ -1429,7 +1429,7 @@ word2number==1.1
# via lm-eval
wrapt==1.17.2
# via smart-open
xgrammar==0.2.7
xgrammar==0.2.8
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt
+2 -2
View File
@@ -43,7 +43,7 @@ anyio==4.13.0
# sse-starlette
# starlette
# watchfiles
apache-tvm-ffi==0.1.10
apache-tvm-ffi==0.1.11
# via
# -c requirements/rocm.txt
# tilelang
@@ -1380,7 +1380,7 @@ word2number==1.1
# via lm-eval
wrapt==2.1.2
# via smart-open
xgrammar==0.2.7
xgrammar==0.2.8
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt
+1 -1
View File
@@ -1218,7 +1218,7 @@ werkzeug==3.1.8
# via schemathesis
word2number==1.1
# via lm-eval
xgrammar==0.2.7
xgrammar==0.2.8
# via
# -c requirements/common.txt
# -r requirements/test/../common.txt