From d71c2f371694a07fa5dc6202940c29a3a1609c6a Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Wed, 6 Aug 2025 16:59:46 +0000 Subject: [PATCH] Apply patch [skip ci] --- .../ollama/tests/unit_tests/test_chat_models_gpt_oss.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/partners/ollama/tests/unit_tests/test_chat_models_gpt_oss.py b/libs/partners/ollama/tests/unit_tests/test_chat_models_gpt_oss.py index ac63ff97733..e37a68f68d6 100644 --- a/libs/partners/ollama/tests/unit_tests/test_chat_models_gpt_oss.py +++ b/libs/partners/ollama/tests/unit_tests/test_chat_models_gpt_oss.py @@ -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) +