Skip to content

fix: dont use deprecated models - #696

Merged
daniel-cohere merged 1 commit into
mainfrom
daniel/fix-deprecated-model-usage
Sep 15, 2025
Merged

fix: dont use deprecated models#696
daniel-cohere merged 1 commit into
mainfrom
daniel/fix-deprecated-model-usage

Conversation

@daniel-cohere

@daniel-cohere daniel-cohere commented Sep 15, 2025

Copy link
Copy Markdown
Contributor

This PR updates the model parameter in various test functions across multiple files. The changes involve replacing the existing model names with the new model name "command-a-03-2025".

Changes:

  • In tests/test_async_client.py, the model parameter in the following functions is updated to "command-a-03-2025":
    • test_chat
    • test_chat_stream
    • test_tokenize
    • test_detokenize
    • test_tool_use
    • test_local_tokenize
    • test_local_detokenize
    • test_tokenize_async_context_with_sync_client
  • In tests/test_client.py, the model parameter in the following functions is updated to "command-a-03-2025":
    • test_tokenize
    • test_detokenize
    • test_tool_use
    • test_local_tokenize
    • test_local_detokenize
  • In tests/test_client_v2.py, the model parameter in the following functions is updated to "command-a-03-2025":
    • test_chat
    • test_chat_stream
    • test_chat_documents
    • test_chat_tools

Additionally, the test_summarize and test_connectors_crud functions are removed from both tests/test_async_client.py and tests/test_client.py.

@daniel-cohere
daniel-cohere merged commit 1231a31 into main Sep 15, 2025
4 checks passed
@daniel-cohere
daniel-cohere deleted the daniel/fix-deprecated-model-usage branch September 15, 2025 20:24
fede-kamel pushed a commit to fede-kamel/cohere-python that referenced this pull request Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants