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:
@@ -192,9 +192,7 @@ class TestGptOssToolCallingIntegration:
|
||||
|
||||
# Stream a response
|
||||
chunks = list(
|
||||
llm_with_tools.stream(
|
||||
"What's the weather in Tokyo? Use the weather tool."
|
||||
)
|
||||
llm_with_tools.stream("What's the weather in Tokyo? Use the weather tool.")
|
||||
)
|
||||
|
||||
# Should have received chunks
|
||||
@@ -359,4 +357,3 @@ class TestGptOssErrorHandling:
|
||||
|
||||
# Should have no tool calls
|
||||
assert not response.tool_calls or len(response.tool_calls) == 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user