Skip to content

Update default model versions and make it possible to actually switch models in codex#150

Merged
mpkrass7 merged 6 commits intomainfrom
mpkrass7-patch-anthropic-model
Apr 30, 2026
Merged

Update default model versions and make it possible to actually switch models in codex#150
mpkrass7 merged 6 commits intomainfrom
mpkrass7-patch-anthropic-model

Conversation

@mpkrass7
Copy link
Copy Markdown
Collaborator

@mpkrass7 mpkrass7 commented Apr 29, 2026

What does this PR do?

  1. Update the default to opus 4-7 and gpt 5-5
  2. Change codex config so that users can choose from the multiple gpt models we have. Before if you were unfortunate enough to change the model, everything would break. About 150 lines of this PR is just a bunch of metadata for codex https://developers.openai.com/codex/config-advanced
  3. Copies the skills into the .agents directory so codex can find them

Testing

Please test your changes on dogfood before merging.

  • Deployed and tested on dogfood
  • Added a screenshot to this PR

@mpkrass7
Copy link
Copy Markdown
Collaborator Author

I tested on an FEVM over dogfood

image

@mpkrass7 mpkrass7 changed the title Update default model versions in setup_claude.py Update default model versions for claude and codex Apr 29, 2026
The original PR only updated setup_*.py, but the deployed app.yaml CODEX_MODEL
env var still pinned databricks-gpt-5-3-codex (overriding the new default), and
app.py had a parallel settings block still on opus-4-6. Also fixed the README
and deployment docs.

Co-authored-by: Isaac
…toml

Adds a model_catalog_json catalog so users can pick from gpt-5-5/5-4/5-4-mini/
5-3-codex/5-2 in the codex /model picker (instead of just the active default).

- Bundle .codex/databricks-models.json in the repo
- setup_codex.py copies it into ~/.codex/ at startup and adds
  `model_catalog_json = "databricks-models.json"` (relative path; codex's
  AbsolutePathBuf resolves relatives against CODEX_HOME)
- .gitignore now tracks only the bundled catalog under .codex/, so per-user
  generated config.toml stays untracked

Co-authored-by: Isaac
@mpkrass7 mpkrass7 changed the title Update default model versions for claude and codex Update default model versions and make it possible to actually switch models in codex Apr 29, 2026
@mpkrass7
Copy link
Copy Markdown
Collaborator Author

So much easier than before
image

Codex looks for skills in \$HOME/.agents/skills and .agents/skills walking up
from cwd. We mirror the gemini setup pattern: copy .claude/skills (the
canonical bundled-skills source) into ~/.agents/skills at startup so codex
sees the same 30+ Databricks/superpowers skills the other agents do.

Also gitignore .agents/ since it's generated, like .gemini/skills.

Co-authored-by: Isaac
@datasciencemonkey
Copy link
Copy Markdown
Owner

Hey Marshall — main has moved ahead with control plane event tracking (#149) and a 20-package dependency bump (#151, v0.17.4). Can you pull from main and rebase your branch on top of it before we review? That way we avoid merge conflicts with the updated deps and pyproject.toml version.

git checkout mpkrass7-patch-anthropic-model
git fetch origin
git rebase origin/main

@datasciencemonkey
Copy link
Copy Markdown
Owner

Also Ive been intending to copy skills over for a long long time. thanks so much for it!!

@mpkrass7 mpkrass7 merged commit 21fe9f4 into main Apr 30, 2026
@mpkrass7 mpkrass7 deleted the mpkrass7-patch-anthropic-model branch April 30, 2026 12:41
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