mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
fix(tests): resolve TypeError in anthropic web search test
This commit is contained in:
parent
1908245c66
commit
4fb3f74b92
1 changed files with 2 additions and 1 deletions
|
|
@ -520,7 +520,8 @@ def test_stream_chunk_builder_anthropic_web_search():
|
|||
assert usage.prompt_tokens == 50
|
||||
assert usage.completion_tokens == 27
|
||||
assert usage.total_tokens == 77
|
||||
assert usage.server_tool_use["web_search_requests"] == 2
|
||||
assert usage.server_tool_use.web_search_requests == 2
|
||||
|
||||
|
||||
|
||||
def test_sort_chunks_handles_dict_hidden_params_created_at():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue