fix: bound Work model generation

This commit is contained in:
wuyang
2026-07-26 16:03:59 +08:00
parent be7abbd18f
commit af141845ed
3 changed files with 12 additions and 1 deletions
+3 -1
View File
@@ -136,7 +136,9 @@ async def test_complete_aggregates_streamed_tool_call(settings: Settings) -> Non
body = "".join(f"data: {json.dumps(chunk)}\n\n" for chunk in chunks) + "data: [DONE]\n\n"
def handler(request: httpx.Request) -> httpx.Response:
assert json.loads(request.content)["stream"] is True
request_payload = json.loads(request.content)
assert request_payload["stream"] is True
assert request_payload["max_tokens"] == 4096
return httpx.Response(
200,
request=request,