Skip to content

Commit 4497dcf

Browse files
committed
fix test
1 parent 3f9ab84 commit 4497dcf

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/llm_translation/test_anthropic_completion.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ def test_anthropic_tool_streaming():
256256
for chunk in anthropic_chunk_list:
257257
parsed_chunk = response_iter.chunk_parser(chunk)
258258
if tool_use := parsed_chunk.get("tool_use"):
259-
260259
# We only increment when a new block starts
261260
if tool_use.get("id") is not None:
262261
correct_tool_index += 1
@@ -967,8 +966,6 @@ def test_anthropic_citations_api_streaming():
967966
if "citation" in provider_specific_fields:
968967
has_citations = True
969968

970-
assert "chunk_type" in provider_specific_fields
971-
972969
assert has_citations
973970

974971

0 commit comments

Comments
 (0)