Title: docs: Add available model options to CLI documentation by codegen-sh[bot] · Pull Request #1237 · codegen-sh/codegen · GitHub
Open Graph Title: docs: Add available model options to CLI documentation by codegen-sh[bot] · Pull Request #1237 · codegen-sh/codegen
X Title: docs: Add available model options to CLI documentation by codegen-sh[bot] · Pull Request #1237 · codegen-sh/codegen
Description: 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-codegen • About Codegen ⛔ Remove Codegen from PR • 🚫 Ban action checks
Open Graph Description: 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" ...
X Description: 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&am...
Opengraph URL: https://github.com/codegen-sh/codegen/pull/1237
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:99114eb0-7dd0-66b4-f54d-e7e9c6d13225 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE86:124E5D:86C654:AEA32D:699053D5 |
| html-safe-nonce | 725599870e66f4799c0b3a5a9c16e5832119b44a522ce7d9e77f0f70417c0e66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTg2OjEyNEU1RDo4NkM2NTQ6QUVBMzJEOjY5OTA1M0Q1IiwidmlzaXRvcl9pZCI6IjE5MTUwMDg4NzY5MDM2ODMwMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4084e4d8eab242a375a898fac2bb83262a04fd57317445fce37b15077b538433 |
| hovercard-subject-tag | pull_request:2797409560 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/codegen-sh/codegen/pull/1237/files |
| twitter:image | https://avatars.githubusercontent.com/in/321279?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/321279?s=400&v=4 |
| og:image:alt | 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" ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/codegen-sh/codegen git https://github.com/codegen-sh/codegen.git |
| octolytics-dimension-user_id | 130597291 |
| octolytics-dimension-user_login | codegen-sh |
| octolytics-dimension-repository_id | 920229736 |
| octolytics-dimension-repository_nwo | codegen-sh/codegen |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 920229736 |
| octolytics-dimension-repository_network_root_nwo | codegen-sh/codegen |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width