Upgrade llguidance to 1.7.6 (#31484)

This commit is contained in:
Lianmin Zheng
2026-07-17 16:31:44 -07:00
committed by GitHub
parent 632adff9fd
commit c95026aed3
10 changed files with 34 additions and 13 deletions
+3 -1
View File
@@ -20,6 +20,8 @@ import tabulate
from sglang.profiler import run_profile
from sglang.srt.utils.network import resolve_base_url
JSON_OBJECT_SCHEMA = json.dumps({"type": "object"})
@dataclasses.dataclass
class BenchArgs:
@@ -176,7 +178,7 @@ def send_one_prompt(
"Give me 3 trivial information about that city. "
"Write in a format of json.\nAssistant:"
)
json_schema = "$$ANY$$"
json_schema = JSON_OBJECT_SCHEMA
else:
json_schema = None