feat(cli): update model options to include latest models#4663
Open
Br1an67 wants to merge 1 commit intocrewAIInc:mainfrom
Open
feat(cli): update model options to include latest models#4663Br1an67 wants to merge 1 commit intocrewAIInc:mainfrom
Br1an67 wants to merge 1 commit intocrewAIInc:mainfrom
Conversation
Update hardcoded model lists in the CLI's `crewai create crew` command to include the latest models from major providers. Changes: - OpenAI: add gpt-4-turbo, gpt-4.1-mini/nano, o1, o3, o3-mini, o4-mini; remove deprecated gpt-4 and date-suffixed variants - Anthropic: add claude-sonnet-4-5, claude-3-7-sonnet, claude-3-5-sonnet v2, claude-3-5-haiku; remove outdated claude-3-sonnet and claude-3-haiku - Groq: add llama-3.3 and llama-3.2 models; remove deprecated 405b-reasoning and gemma-7b-it - Ollama: add llama3.2, llama3.3, deepseek-r1 Fixes crewAIInc#4317
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates the hardcoded model lists in the CLI's
crewai create crewcommand to include the latest models from major providers. This addresses #4317 where users reported seeing outdated models (like GPT-4 and Claude 3 Sonnet) when creating new projects.Changes
gpt-4-turbo,gpt-4.1-mini,gpt-4.1-nano,o1,o3,o3-mini,o4-mini; removed deprecatedgpt-4and date-suffixed variantsclaude-sonnet-4-5-20250514,claude-3-7-sonnet-20250219,claude-3-5-sonnet-20241022,claude-3-5-haiku-20241022; removed outdatedclaude-3-sonnetandclaude-3-haikullama-3.1-405b-reasoningandgemma-7b-itllama3.2,llama3.3,deepseek-r1Testing
Fixes #4317
Note
Low Risk
Low risk: changes are limited to CLI-facing, hardcoded
MODELSoption lists and adds simple assertions in tests; main risk is breaking users who relied on removed/deprecated model identifiers.Overview
Updates the CLI’s hardcoded
MODELSlists to reflect newer model identifiers for OpenAI, Anthropic, Groq, and Ollama, removing several older/deprecated entries.Adds CLI tests to ensure the latest provider models are present and that each supported provider has at least one configured model option.
Written by Cursor Bugbot for commit 5b9ccf5. This will update automatically on new commits. Configure here.