mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-19 22:23:49 +00:00
Apply patch [skip ci]
This commit is contained in:
@@ -329,7 +329,7 @@ class TestGptOssIntegration:
|
||||
assert result.tool_calls[0]["name"] == "get_weather"
|
||||
assert result.tool_calls[0]["args"] == {"location": "Berlin", "unit": "celsius"}
|
||||
|
||||
@patch("ollama.Client")
|
||||
@patch("langchain_ollama.chat_models.Client")
|
||||
def test_stream_with_tools(self, mock_client_class: MagicMock) -> None:
|
||||
"""Test streaming gpt-oss model with tools."""
|
||||
# Create mock client instance
|
||||
@@ -411,3 +411,4 @@ class TestChatParamsWithGptOss:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user