Skip to content

fix: update default model to command-r-plus-08-2024#1008

Open
akhilesharora wants to merge 1 commit intocohere-ai:mainfrom
akhilesharora:fix/default-model-command-r-plus-08-2024
Open

fix: update default model to command-r-plus-08-2024#1008
akhilesharora wants to merge 1 commit intocohere-ai:mainfrom
akhilesharora:fix/default-model-command-r-plus-08-2024

Conversation

@akhilesharora
Copy link
Copy Markdown

Summary

Update the default model from command-r-plus to command-r-plus-08-2024 because Cohere deprecated the old model name.

Root Cause

Cohere renamed the model command-r-plus to command-r-plus-08-2024. The old model name no longer exists in Cohere's API, causing fresh installs to fail when using the hardcoded default model.

Fix

Updated all references to the default model across the codebase:

  • src/backend/config/default_agent.py
  • src/backend/routers/utils.py
  • src/backend/schemas/cohere_chat.py
  • src/backend/tests/integration/conftest.py
  • src/backend/tests/integration/routers/test_agent.py
  • src/backend/tests/unit/factories/model.py
  • src/interfaces/assistants_web/src/constants/conversation.ts
  • src/interfaces/coral_web/src/constants.ts

Testing

Updated test fixtures and mocks to use the new model name. All existing tests pass with the updated model reference.

Closes #972

Cohere deprecated the model name `command-r-plus` and renamed it to
`command-r-plus-08-2024`. This was causing fresh installs to fail
because the hardcoded default model no longer exists in Cohere's API.

Fixes cohere-ai#972
@cla-assistant
Copy link
Copy Markdown

cla-assistant bot commented Mar 6, 2026

CLA assistant check
All committers have signed the CLA.

@cla-assistant
Copy link
Copy Markdown

cla-assistant bot commented Mar 6, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

Default model no longer exists

1 participant