This commit is contained in:
TomeHirata 2025-09-02 14:39:19 +09:00
parent 3f9ab84a7d
commit 4497dcf762

View file

@ -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