Skip to content

chore: remove codex models from supported models#342

Merged
0xallam merged 2 commits intomainfrom
remove-codex-models
Mar 2, 2026
Merged

chore: remove codex models from supported models#342
0xallam merged 2 commits intomainfrom
remove-codex-models

Conversation

@octovimmer
Copy link
Copy Markdown
Contributor

removing from docs and config.yaml for litellm deployment

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Mar 2, 2026

Greptile Summary

This PR removes 4 codex model entries (gpt-5.2-codex, gpt-5.1-codex-max, gpt-5.1-codex, gpt-5-codex) from the documentation table in docs/llm-providers/models.mdx.

Major issues:

  • Codex models still defined in strix/llm/utils.py:40-43 in the STRIX_MODEL_MAP dictionary - these need to be removed for complete removal
  • Reference to "Codex models" still exists in docs/llm-providers/overview.mdx:52 - should update card description to just mention GPT-5
  • PR description mentions removing from config.yaml but no such file was modified in this commit

The removal is incomplete and creates inconsistency between code and documentation.

Confidence Score: 2/5

  • This PR is incomplete and creates code-documentation inconsistency
  • The PR only removes codex models from one documentation file but leaves them in the actual code (STRIX_MODEL_MAP) and other documentation references. This creates an inconsistent state where the models are still functional in code but not documented, which could confuse users.
  • The PR needs to also modify strix/llm/utils.py (remove lines 40-43) and docs/llm-providers/overview.mdx (line 52) to complete the codex model removal

Important Files Changed

Filename Overview
docs/llm-providers/models.mdx Removed 4 codex model entries from documentation table, but incomplete removal across codebase

Last reviewed commit: 5a5a5fb

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 file reviewed, 3 comments

Edit Code Review Agent Settings | Greptile

Comment on lines 50 to 52
| GPT-5.2 | `strix/gpt-5.2` |
| GPT-5.1 | `strix/gpt-5.1` |
| GPT-5 | `strix/gpt-5` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex models removed from this table but still defined in strix/llm/utils.py lines 40-43 in STRIX_MODEL_MAP. Users can still access these models via the code even though they're not documented.

Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/llm-providers/models.mdx
Line: 50-52

Comment:
Codex models removed from this table but still defined in `strix/llm/utils.py` lines 40-43 in `STRIX_MODEL_MAP`. Users can still access these models via the code even though they're not documented.

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines 50 to 52
| GPT-5.2 | `strix/gpt-5.2` |
| GPT-5.1 | `strix/gpt-5.1` |
| GPT-5 | `strix/gpt-5` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/llm-providers/overview.mdx:52 still mentions "GPT-5 and Codex models" - should update to just "GPT-5 models"

Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/llm-providers/models.mdx
Line: 50-52

Comment:
`docs/llm-providers/overview.mdx:52` still mentions "GPT-5 and Codex models" - should update to just "GPT-5 models"

How can I resolve this? If you propose a fix, please make it concise.

Comment on lines 50 to 52
| GPT-5.2 | `strix/gpt-5.2` |
| GPT-5.1 | `strix/gpt-5.1` |
| GPT-5 | `strix/gpt-5` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR description mentions "removing from docs and config.yaml" but no config.yaml file was modified in this commit

Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/llm-providers/models.mdx
Line: 50-52

Comment:
PR description mentions "removing from docs and config.yaml" but no `config.yaml` file was modified in this commit

How can I resolve this? If you propose a fix, please make it concise.

@0xallam 0xallam merged commit 3e8a5c6 into main Mar 2, 2026
1 check passed
@0xallam 0xallam deleted the remove-codex-models branch March 2, 2026 23:29
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.

2 participants