Commit Graph
8422 Commits
Author SHA1 Message Date
Michael Bolin b9c7dd430e fix: remove unsafe blocks and use of set_var(), as it is unsafe 2025-08-05 13:25:05 -07:00
Michael Bolin bc511deb3f merge commit for archive created by Sapling 2025-08-05 13:21:37 -07:00
Michael Bolin 8ea22920b0 fix: remove unsafe blocks and use of set_var(), as it is unsafe 2025-08-05 13:21:19 -07:00
Michael Bolin f1d45a9315 merge commit for archive created by Sapling 2025-08-05 13:17:43 -07:00
Michael Bolin 3270011a6c fix: remove unsafe blocks and use of set_var(), as it is unsafe 2025-08-05 13:17:25 -07:00
Michael Bolin 63701e4987 Merge 51108b909b into sapling-pr-archive-bolinfest 2025-08-05 12:34:41 -07:00
Michael Bolin 51108b909b fix: remove unsafe blocks and use of set_var(), as it is unsafe 2025-08-05 12:34:26 -07:00
Michael Bolin 810e89c376 Merge 33d8732694 into sapling-pr-archive-bolinfest 2025-08-05 11:48:59 -07:00
Michael Bolin 33d8732694 chore: remove unnecessary default_ prefix 2025-08-05 11:48:41 -07:00
Michael Bolin 0c5fa271bc fix: README ToC did not match contents (#1857)
Similar to https://github.com/openai/codex/pull/1855, this got through.

Fixed by running:

```
python3 scripts/readme_toc.py --fix README.md
```
2025-08-05 11:48:28 -07:00
Michael Bolin d9ebcda578 Merge 623c6355cf into sapling-pr-archive-bolinfest 2025-08-05 11:47:32 -07:00
Michael Bolin 623c6355cf fix: README ToC did not match contents 2025-08-05 11:47:15 -07:00
Michael Bolin d29ad70f17 Merge ff719f645b into sapling-pr-archive-bolinfest 2025-08-05 11:45:02 -07:00
Michael Bolin ff719f645b chore: remove unnecessary default_ prefix 2025-08-05 11:44:30 -07:00
Michael Bolin bd24bc320e fix: clean out some ASCII (#1856)
Similar to https://github.com/openai/codex/pull/1855, this got through.

Fixed by running:

```
./scripts/asciicheck.py README.md
```
2025-08-05 11:44:04 -07:00
Michael Bolin aa5147a86a Merge 157a9d0c3e into sapling-pr-archive-bolinfest 2025-08-05 11:43:23 -07:00
Michael Bolin 157a9d0c3e fix: clean out some ASCII 2025-08-05 11:43:07 -07:00
Michael Bolin 9edd12378e Merge 1243bb03bf into sapling-pr-archive-bolinfest 2025-08-05 11:40:16 -07:00
Michael Bolin 1243bb03bf chore: remove unnecessary default_ prefix 2025-08-05 11:39:53 -07:00
Michael Bolin 9f91b3da24 fix: correct spelling error that sneaked through (#1855)
I ended up force-pushing https://github.com/openai/codex/pull/1848
because CI jobs were not being triggered after updating the PR on
GitHub, so this spelling error sneaked through.
2025-08-05 11:39:30 -07:00
Michael Bolin bc00177bcf Merge 145df4556e into sapling-pr-archive-bolinfest 2025-08-05 11:38:26 -07:00
Michael Bolin 145df4556e fix: correct spelling error that sneaked through 2025-08-05 11:38:10 -07:00
Michael Bolin 4582400739 merge commit for archive created by Sapling 2025-08-05 11:36:22 -07:00
Michael Bolin d6cfe922f2 chore: remove unnecessary default_ prefix 2025-08-05 11:36:01 -07:00
easong-openaiandMichael Bolin 9285350842 Introduce --oss flag to use gpt-oss models (#1848)
This adds support for easily running Codex backed by a local Ollama
instance running our new open source models. See
https://github.com/openai/gpt-oss for details.

If you pass in `--oss` you'll be prompted to install/launch ollama, and
it will automatically download the 20b model and attempt to use it.

We'll likely want to expand this with some options later to make the
experience smoother for users who can't run the 20b or want to run the
120b.

Co-authored-by: Michael Bolin <mbolin@openai.com>
2025-08-05 11:31:11 -07:00
Michael Bolin 5e19415a76 merge commit for archive created by Sapling 2025-08-05 11:20:26 -07:00
Michael Bolin 95abf99e71 feat: add a built-in model provider named "oss" 2025-08-05 11:19:49 -07:00
Michael Bolin 4220fce51d merge commit for archive created by Sapling 2025-08-05 02:34:32 -07:00
Michael Bolin 8e08ab7f80 feat: add a built-in model provider named "oss" 2025-08-05 02:34:12 -07:00
Michael Bolin f939d50980 merge commit for archive created by Sapling 2025-08-05 02:23:17 -07:00
Michael Bolin bc427d6f71 feat: add a built-in model provider named "oss" 2025-08-05 02:22:55 -07:00
Michael Bolin ee043a0029 Merge 505d6c22dc into sapling-pr-archive-bolinfest 2025-08-05 02:13:41 -07:00
Michael Bolin 505d6c22dc feat: add a built-in model provider named "oss" 2025-08-05 02:13:25 -07:00
easong-openaiandAhmed Ibrahim e0303dbac0 Rescue chat completion changes (#1846)
https://github.com/openai/codex/pull/1835 has some messed up history.

This adds support for streaming chat completions, which is useful for ollama. We should probably take a very skeptical eye to the code introduced in this PR.

---------

Co-authored-by: Ahmed Ibrahim <aibrahim@openai.com>
2025-08-05 08:56:13 +00:00
Dylan d31e149cb1 [prompt] Update prompt.md (#1839)
## Summary
Additional clarifications to our prompt. Still very concise, but we'll
continue to add more here.
2025-08-05 00:43:23 -07:00
Michael Bolin 136b3ee5bf chore: introduce ModelFamily abstraction (#1838)
To date, we have a number of hardcoded OpenAI model slug checks spread
throughout the codebase, which makes it hard to audit the various
special cases for each model. To mitigate this issue, this PR introduces
the idea of a `ModelFamily` that has fields to represent the existing
special cases, such as `supports_reasoning_summaries` and
`uses_local_shell_tool`.

There is a `find_family_for_model()` function that maps the raw model
slug to a `ModelFamily`. This function hardcodes all the knowledge about
the special attributes for each model. This PR then replaces the
hardcoded model name checks with checks against a `ModelFamily`.

Note `ModelFamily` is now available as `Config::model_family`. We should
ultimately remove `Config::model` in favor of
`Config::model_family::slug`.
2025-08-04 23:50:03 -07:00
Michael Bolin bf0daf6ea1 merge commit for archive created by Sapling 2025-08-04 23:41:06 -07:00
Michael Bolin 41105009f0 chore: introduce ModelFamily abstraction 2025-08-04 23:41:00 -07:00
Michael Bolin 55fa107b35 merge commit for archive created by Sapling 2025-08-04 23:38:06 -07:00
Michael Bolin 8f90fb0725 chore: introduce ModelFamily abstraction 2025-08-04 23:37:11 -07:00
Michael Bolin 3086c5ee4e merge commit for archive created by Sapling 2025-08-04 23:30:01 -07:00
Michael Bolin a766a55c33 chore: introduce ModelFamily abstraction 2025-08-04 23:29:48 -07:00
Michael Bolin 1c898787e4 Merge d543562232 into sapling-pr-archive-bolinfest 2025-08-04 23:25:14 -07:00
Michael Bolin d543562232 chore: introduce ModelFamily abstraction 2025-08-04 23:24:49 -07:00
Michael Bolin fcdb1c4b4d fix: disable reorderArrays in tamasfe.even-better-toml (#1837)
The existing setting kept destroying my `~/.codex/config.toml` for the
reasons mentioned in the comment.
2025-08-04 21:57:55 -07:00
Michael Bolin 152d43b44f Merge dc623bd770 into sapling-pr-archive-bolinfest 2025-08-04 21:42:33 -07:00
Michael Bolin dc623bd770 fix: disable reorderArrays in tamasfe.even-better-toml 2025-08-04 21:42:27 -07:00
Michael Bolin ab2bb5b3e8 Merge bdcfb9ecf0 into sapling-pr-archive-bolinfest 2025-08-04 21:33:45 -07:00
Michael Bolin bdcfb9ecf0 fix: disable reorderArrays in tamasfe.even-better-toml 2025-08-04 21:33:38 -07:00
easong-openai 906d449760 Stream model responses (#1810)
Stream models thoughts and responses instead of waiting for the whole
thing to come through. Very rough right now, but I'm making the risk call to push through.
2025-08-05 04:23:22 +00:00