mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
fix test
This commit is contained in:
parent
3f9ab84a7d
commit
4497dcf762
1 changed files with 0 additions and 3 deletions
|
|
@ -256,7 +256,6 @@ def test_anthropic_tool_streaming():
|
|||
for chunk in anthropic_chunk_list:
|
||||
parsed_chunk = response_iter.chunk_parser(chunk)
|
||||
if tool_use := parsed_chunk.get("tool_use"):
|
||||
|
||||
# We only increment when a new block starts
|
||||
if tool_use.get("id") is not None:
|
||||
correct_tool_index += 1
|
||||
|
|
@ -967,8 +966,6 @@ def test_anthropic_citations_api_streaming():
|
|||
if "citation" in provider_specific_fields:
|
||||
has_citations = True
|
||||
|
||||
assert "chunk_type" in provider_specific_fields
|
||||
|
||||
assert has_citations
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue