Skip to content

Commit

Permalink
chore: remove vcr marker to fix tests (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirudh31415926535 authored Jul 10, 2024
1 parent a5da828 commit a04b787
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 146 deletions.
144 changes: 0 additions & 144 deletions libs/cohere/tests/integration_tests/cassettes/test_batch.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions libs/cohere/tests/integration_tests/test_chat_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,9 @@ async def test_abatch_tags() -> None:
assert isinstance(token.content, str)


@pytest.mark.vcr()
def test_batch() -> None:
"""Test batch tokens from ChatCohere."""
llm = ChatCohere(model=DEFAULT_MODEL)
llm = ChatCohere()

result = llm.batch(["I'm Pickle Rick", "I'm not Pickle Rick"])
for token in result:
Expand Down

0 comments on commit a04b787

Please sign in to comment.