From e6e12bfb12cb45a406479ebca99d8bb2bd8b01a7 Mon Sep 17 00:00:00 2001 From: "open-swe[bot]" Date: Wed, 6 Aug 2025 16:58:08 +0000 Subject: [PATCH] Apply patch [skip ci] --- .../ollama/tests/integration_tests/test_gpt_oss_tools.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/partners/ollama/tests/integration_tests/test_gpt_oss_tools.py b/libs/partners/ollama/tests/integration_tests/test_gpt_oss_tools.py index 065a5a2a059..b898fb3f3ee 100644 --- a/libs/partners/ollama/tests/integration_tests/test_gpt_oss_tools.py +++ b/libs/partners/ollama/tests/integration_tests/test_gpt_oss_tools.py @@ -9,8 +9,10 @@ To run these tests: Note: These tests will be skipped if Ollama is not available or the model is not installed. """ +from __future__ import annotations + import os -from typing import Any, Dict, Optional +from typing import Any import pytest from langchain_core.messages import AIMessage, HumanMessage @@ -357,3 +359,4 @@ class TestGptOssErrorHandling: # Should have no tool calls assert not response.tool_calls or len(response.tool_calls) == 0 +