test_passing_tool_result_as_list

This commit is contained in:
Ishaan Jaff
2025-08-16 08:08:25 -07:00
parent 76939c5e73
commit f522f40228
+2 -3
View File
@@ -589,12 +589,12 @@ def test_anthropic_function_call_with_no_schema(model):
@pytest.mark.parametrize(
"model",
[
"anthropic/claude-3-5-sonnet-20241022",
"bedrock/anthropic.claude-3-sonnet-20240229-v1:0",
],
)
def test_passing_tool_result_as_list(model):
litellm.set_verbose = True
litellm._turn_on_debug()
messages = [
{
"content": [
@@ -643,8 +643,7 @@ def test_passing_tool_result_as_list(model):
],
"role": "tool",
"tool_call_id": "toolu_01V1paXrun4CVetdAGiQaZG5",
"name": "execute_bash",
"cache_control": {"type": "ephemeral"},
"name": "execute_bash"
},
]
tools = [