From cde67f2b7194b974fef9e4f3fd9e0e4898f14ca4 Mon Sep 17 00:00:00 2001 From: xianghuijin Date: Thu, 20 Mar 2025 21:26:59 +0800 Subject: [PATCH] Rename test file for better clarity --- ..._tool_choice_reset.py => test_prevent_infinite_tool_loop.py} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename tests/{test_tool_choice_reset.py => test_prevent_infinite_tool_loop.py} (99%) diff --git a/tests/test_tool_choice_reset.py b/tests/test_prevent_infinite_tool_loop.py similarity index 99% rename from tests/test_tool_choice_reset.py rename to tests/test_prevent_infinite_tool_loop.py index e01a5f0..c60a951 100644 --- a/tests/test_tool_choice_reset.py +++ b/tests/test_prevent_infinite_tool_loop.py @@ -54,7 +54,7 @@ class MockModel: ) -class TestToolChoiceReset: +class TestPreventInfiniteToolLoop: 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"