Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

docs: Add available model options to CLI documentation#1237

Open
codegen-sh[bot] wants to merge 1 commit into
developcodegen-sh/codegen:developfrom
codegen-bot/add-cli-model-options-1756938362codegen-sh/codegen:codegen-bot/add-cli-model-options-1756938362Copy head branch name to clipboard
Open

docs: Add available model options to CLI documentation#1237
codegen-sh[bot] wants to merge 1 commit into
developcodegen-sh/codegen:developfrom
codegen-bot/add-cli-model-options-1756938362codegen-sh/codegen:codegen-bot/add-cli-model-options-1756938362Copy head branch name to clipboard

Conversation

@codegen-sh

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

Copy link
Copy Markdown
Contributor

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 <jay@codegen.com>
@codecov

codecov Bot commented Sep 3, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.