mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-19 14:20:55 +00:00
Apply patch [skip ci]
This commit is contained in:
@@ -379,7 +379,7 @@ class TestChatParamsWithGptOss:
|
||||
assert "tools" in llm_with_tools.kwargs # type: ignore[attr-defined]
|
||||
|
||||
# When _chat_params is called, it should include the tools from kwargs
|
||||
params = llm_with_tools._chat_params(messages, **llm_with_tools.kwargs)
|
||||
params = llm_with_tools._chat_params(messages, **llm_with_tools.kwargs) # type: ignore[attr-defined]
|
||||
|
||||
# Check that tools are included and in Harmony format
|
||||
assert "tools" in params
|
||||
@@ -397,3 +397,4 @@ class TestChatParamsWithGptOss:
|
||||
if "type" in prop:
|
||||
assert isinstance(prop["type"], str)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user