From 9384a0fb3fd13151c010d3f45c89bfcb05172784 Mon Sep 17 00:00:00 2001 From: xianghuijin Date: Thu, 20 Mar 2025 21:28:24 +0800 Subject: [PATCH] Revert test file name to match project naming style --- ..._prevent_infinite_tool_loop.py => test_tool_choice_reset.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tests/{test_prevent_infinite_tool_loop.py => test_tool_choice_reset.py} (99%) diff --git a/tests/test_prevent_infinite_tool_loop.py b/tests/test_tool_choice_reset.py similarity index 99% rename from tests/test_prevent_infinite_tool_loop.py rename to tests/test_tool_choice_reset.py index c60a951..e01a5f0 100644 --- a/tests/test_prevent_infinite_tool_loop.py +++ b/tests/test_tool_choice_reset.py @@ -54,7 +54,7 @@ class MockModel: ) -class TestPreventInfiniteToolLoop: +class TestToolChoiceReset: async def test_tool_choice_resets_after_call(self): """Test that tool_choice is reset to 'auto' after tool call when set to 'required'""" # Create an agent with tool_choice="required"