Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-06 16:48:26 +00:00
parent d62233afb2
commit c8adab51d0

View File

@@ -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: