mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-19 05:58:58 +00:00
Apply patch [skip ci]
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user