Skip to content

feat(cli): update model options to include latest models#4663

Open
Br1an67 wants to merge 1 commit intocrewAIInc:mainfrom
Br1an67:fix/issue-4317-update-models
Open

feat(cli): update model options to include latest models#4663
Br1an67 wants to merge 1 commit intocrewAIInc:mainfrom
Br1an67:fix/issue-4317-update-models

Conversation

@Br1an67
Copy link

@Br1an67 Br1an67 commented Mar 1, 2026

Summary

Updates the hardcoded model lists in the CLI's crewai create crew command 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

  • OpenAI: Added gpt-4-turbo, gpt-4.1-mini, gpt-4.1-nano, o1, o3, o3-mini, o4-mini; removed deprecated gpt-4 and date-suffixed variants
  • Anthropic: Added claude-sonnet-4-5-20250514, claude-3-7-sonnet-20250219, claude-3-5-sonnet-20241022, claude-3-5-haiku-20241022; removed outdated claude-3-sonnet and claude-3-haiku
  • Groq: Added Llama 3.3 and 3.2 models; removed deprecated llama-3.1-405b-reasoning and gemma-7b-it
  • Ollama: Added llama3.2, llama3.3, deepseek-r1

Testing

  • Added tests to verify latest models are included for OpenAI, Anthropic, Groq, Ollama
  • Added test to verify all providers have at least one model defined
  • All 356 CLI tests pass

Fixes #4317


Note

Low Risk
Low risk: changes are limited to CLI-facing, hardcoded MODELS option 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 MODELS lists 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.

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
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.

[FEATURE] seeing really old models when creating project via "crewai create crew <your_project_name>"

1 participant