Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-06 16:59:46 +00:00
parent 7e4d402a3d
commit d71c2f3716

View File

@@ -318,7 +318,7 @@ class TestGptOssIntegration:
assert tool_names == {"get_weather", "search_web", "calculate"}
# Check that all tools have proper Harmony format
for tool in tools:
for tool_def in tools:
assert tool["type"] == "function"
assert "function" in tool
func = tool["function"]
@@ -395,3 +395,4 @@ class TestChatParamsWithGptOss:
if "type" in prop:
assert isinstance(prop["type"], str)