[ngram] use SGLANG_NGRAM_FORCE_GREEDY_VERIFY to control verify method (#13153)

Co-authored-by: a4zhangfei <a4zhangfei@qq.com>
This commit is contained in:
Zhihao Zhang
2025-11-12 21:07:33 +08:00
committed by GitHub
co-authored by a4zhangfei
parent 2d531946db
commit 9c1c5c6d7d
3 changed files with 10 additions and 9 deletions
+3
View File
@@ -279,6 +279,9 @@ class Envs:
# Tool-Call behavior
SGLANG_TOOL_STRICT_LEVEL = EnvInt(ToolStrictLevel.OFF)
# Ngram
SGLANG_NGRAM_FORCE_GREEDY_VERIFY = EnvBool(False)
# fmt: on