Apply patch [skip ci]

This commit is contained in:
open-swe[bot]
2025-08-06 16:59:05 +00:00
parent e6e12bfb12
commit 4fdd2e5579

View File

@@ -318,8 +318,8 @@ class TestGptOssErrorHandling:
# Create a tool that might cause parsing issues
@tool
def complex_tool(
data: Dict[str, Any],
nested: Optional[Dict[str, Any]] = None,
data: dict[str, Any],
nested: dict[str, Any] | None = None,
) -> str:
"""A complex tool with nested parameters.
@@ -360,3 +360,4 @@ class TestGptOssErrorHandling:
# Should have no tool calls
assert not response.tool_calls or len(response.tool_calls) == 0