mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-24 08:30:09 +00:00
test_passing_tool_result_as_list
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user