Skip to content

Chore: update cohere models - #15576

Merged
wangq8 merged 1 commit into
infiniflow:mainfrom
6ba3i:chore/update_coheremodels
Jun 3, 2026
Merged

wangq8 merged 1 commit into
infiniflow:mainfrom
6ba3i:chore/update_coheremodels

Conversation

@6ba3i

@6ba3i 6ba3i commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

What problem does this PR solve?

remove old and add latest cohere models

Type of change

  • Refactoring
  • Other (please describe): update models

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jun 3, 2026
@coderabbitai

coderabbitai Bot commented Jun 3, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

Pull request was closed or merged during review

📝 Walkthrough

Walkthrough

This PR updates Cohere's model configuration across two related files: the factory definitions in llm_factories.json specify which models are available and their capabilities, while cohere.json provides detailed specifications for each model including token limits and type classifications. The changes introduce newer command-a-* and command-r-* chat models, update embedding and reranking models to v4.0 variants, and add speech2text transcription capability.

Changes

Cohere Model Configuration

Layer / File(s) Summary
Chat, embedding, and reranking models in factory configuration
conf/llm_factories.json
Provider tags updated to include SPEECH2TEXT. Chat model list replaced with command-a-* and updated command-r* variants. Embedding model upgraded to embed-v4.0. Reranking models updated to rerank-v4.0-pro, rerank-v4.0-fast, and rerank-v3.5.
Speech2text model addition in factory
conf/llm_factories.json
New cohere-transcribe-03-2026 model added as speech2text type at the end of the Cohere model list.
Model specifications and catalog structure
conf/models/cohere.json
Model catalog expanded with new chat, embedding, and reranking entries. max_tokens values updated for command-a-03-2025, command-a-reasoning-08-2025, rerank-v4.0-pro, and embed-v4.0. New model entries added with corresponding specifications.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 Cohere's models now shine bright and new,
With chat-a and rerank v4 too,
Speech transcription joins the fold,
Configuration stories retold,
Updated tokens, specs in view! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Chore: update cohere models' clearly summarizes the main change—updating Cohere model configurations in the codebase.
Description check ✅ Passed The description provides the required 'What problem does this PR solve?' section and explicitly marks the Type of change. All essential information is present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@wangq8
wangq8 merged commit 1134769 into infiniflow:main Jun 3, 2026
@6ba3i
6ba3i deleted the chore/update_coheremodels branch September 22, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants