mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
test: add name assertions to multi-tool test
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a749d4e522
commit
5b61b54431
1 changed files with 2 additions and 0 deletions
|
|
@ -437,7 +437,9 @@ class TestSnowflakeToolTransformation:
|
|||
tool_results = transformed[2]["content_list"]
|
||||
assert len(tool_results) == 2
|
||||
assert tool_results[0]["tool_results"]["tool_use_id"] == "call_1"
|
||||
assert tool_results[0]["tool_results"]["name"] == "get_weather"
|
||||
assert tool_results[1]["tool_results"]["tool_use_id"] == "call_2"
|
||||
assert tool_results[1]["tool_results"]["name"] == "get_weather"
|
||||
|
||||
def test_transform_request_with_tool_messages(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue