Skip to content

Conversation

codegen-sh[bot]
Copy link
Contributor

@codegen-sh codegen-sh bot commented Sep 3, 2025

This PR addresses the documentation gap for the --model parameter in the CLI documentation by adding a comprehensive list of all supported models.

Changes Made

  • Added "Available Models" section with complete list of supported models organized by provider:

    • OpenAI models (gpt-4o, gpt-4.1, gpt-4.5, gpt-5, o1, o3, o4, deepseek-chat)
    • Anthropic models (claude-3-7-sonnet, claude-3-5-sonnet)
    • xAI models (grok-2, grok-3, grok-4, grok-code-fast variants)
    • Google models (gemini-1.5-pro, gemini-2.5)
  • Enhanced --model parameter documentation with cross-reference link to the new Available Models section

  • Added usage examples showing how to specify models in CLI commands

  • Added helpful note about default model behavior when no model is specified

Context

Previously, the CLI documentation only mentioned --model TEXT without specifying what valid values could be used. Users had to guess or discover valid model names through trial and error.

The model list was sourced from the MODEL_MAP in codegen-backend/app/agents/llms/utils.py to ensure accuracy and completeness.

Impact

  • Users can now easily discover all available model options
  • Reduces support requests about valid model names
  • Improves CLI usability and developer experience

💻 View my work • 👤 Initiated by Jay Hack • 💬 Initiated in #ext-lambda-curry-codegenAbout Codegen
⛔ Remove Codegen from PR🚫 Ban action checks

- Added comprehensive list of supported models for --model parameter
- Organized models by provider (OpenAI, Anthropic, xAI, Google)
- Included usage examples and note about default model behavior
- Added cross-reference link from --model option to Available Models section

Co-authored-by: Jay Hack <[email protected]>
Copy link

codecov bot commented Sep 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

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.

0 participants