Commit Graph

2604 Commits

Author SHA1 Message Date
Michael Bolin
33c1f6edbe Merge b343138c6a into sapling-pr-archive-bolinfest 2025-08-07 14:56:25 -07:00
Michael Bolin
b343138c6a chore: move top-level load_auth() to CodexAuth::from_codex_home() 2025-08-07 14:56:17 -07:00
Michael Bolin
f4ab56b8ee merge commit for archive created by Sapling 2025-08-07 14:50:22 -07:00
Michael Bolin
922d516f58 chore: make CodexAuth::api_key a private field 2025-08-07 14:50:14 -07:00
Michael Bolin
fde883d740 merge commit for archive created by Sapling 2025-08-07 14:49:26 -07:00
Michael Bolin
7c1871e2df chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption 2025-08-07 14:49:14 -07:00
Michael Bolin
0a0e482141 chore: make CodexAuth::api_key a private field 2025-08-07 14:49:14 -07:00
Michael Bolin
29450fbdca merge commit for archive created by Sapling 2025-08-07 14:47:14 -07:00
Michael Bolin
fe2d786d5b chore: make CodexAuth::api_key a private field 2025-08-07 14:47:05 -07:00
Michael Bolin
1f18d6bcbf chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption 2025-08-07 14:47:05 -07:00
Michael Bolin
d2c804a956 merge commit for archive created by Sapling 2025-08-07 14:45:59 -07:00
Michael Bolin
5c19391ea6 chore: make CodexAuth::api_key a private field 2025-08-07 14:45:46 -07:00
Michael Bolin
fc329350b9 chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption 2025-08-07 14:45:46 -07:00
Michael Bolin
5d0d56b320 Merge 6db81d73d2 into sapling-pr-archive-bolinfest 2025-08-07 14:19:46 -07:00
Michael Bolin
6db81d73d2 chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption 2025-08-07 14:19:41 -07:00
Michael Bolin
7d67159587 fix: public load_auth() fn always called with include_env_var=true (#1961)
Apparently `include_env_var=false` was only used for testing, so clean
up the API a little to make that clear.


---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/1961).
* #1962
* __->__ #1961
2025-08-07 14:19:30 -07:00
Michael Bolin
602fe9b5bf Merge 667754c5ec into sapling-pr-archive-bolinfest 2025-08-07 14:11:37 -07:00
Michael Bolin
667754c5ec chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption 2025-08-07 14:11:31 -07:00
Michael Bolin
f458db4f6b fix: public load_auth() fn always called with include_env_var=true 2025-08-07 14:11:31 -07:00
Michael Bolin
e7ff112e90 Merge c865a34ae6 into sapling-pr-archive-bolinfest 2025-08-07 14:04:41 -07:00
Michael Bolin
c865a34ae6 chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption 2025-08-07 14:04:33 -07:00
Michael Bolin
b33652a1ca Merge d6f1585429 into sapling-pr-archive-bolinfest 2025-08-07 14:00:00 -07:00
Michael Bolin
d6f1585429 fix: public load_auth() fn always called with include_env_var=true 2025-08-07 13:59:54 -07:00
Michael Bolin
f74fe7af7b fix: fix mistaken bitwise OR in #1949 (#1957)
This is hard for me to test conclusively because I have the default of
`ctrl left/right` used to migrate between Spaces on macOS.
2025-08-07 20:11:06 +00:00
Michael Bolin
5e727988cb merge commit for archive created by Sapling 2025-08-07 13:04:43 -07:00
Michael Bolin
f245930d94 fix: fix mistaken bitwise OR in #1949 2025-08-07 13:04:39 -07:00
Michael Bolin
8fe1ad901f merge commit for archive created by Sapling 2025-08-07 13:04:32 -07:00
Michael Bolin
50f2616e25 fix: fix mistaken bitwise OR in #1949 2025-08-07 13:04:26 -07:00
Michael Bolin
8f434ce34b Merge efed517439 into sapling-pr-archive-bolinfest 2025-08-07 12:54:44 -07:00
Michael Bolin
efed517439 fix: fix mistaken bitwise OR in #1949 2025-08-07 12:54:38 -07:00
Jeremy Rose
c787603812 ctrl+arrows also move words (#1949)
this was removed at some point, but this is a common keybind for word
left/right.
2025-08-07 18:27:44 +00:00
Ed Bayes
e07776ccc9 update readme (#1948)
Co-authored-by: Alexander Embiricos <ae@openai.com>
2025-08-07 11:20:53 -07:00
pakrym-oai
f23c3066c8 Add capacity error (#1947) 2025-08-07 10:46:43 -07:00
pakrym-oai
a593b1c3ab Use different field for error type (#1945) 2025-08-07 10:20:33 -07:00
Michael Bolin
107d2ce4e7 fix: change OPENAI_DEFAULT_MODEL to "gpt-5" (#1943) 2025-08-07 10:13:13 -07:00
Michael Bolin
e666aae4f3 merge commit for archive created by Sapling 2025-08-07 10:07:26 -07:00
Michael Bolin
5099624cfd fix: change OPENAI_DEFAULT_MODEL to "2025-08-06-model" 2025-08-07 10:07:19 -07:00
Ed Bayes
09adbf9132 remove composer bg (#1944)
passes local tests
2025-08-07 10:04:49 -07:00
Michael Bolin
53ee3f1d0a Merge 66cbe5ac63 into sapling-pr-archive-bolinfest 2025-08-07 09:49:37 -07:00
Michael Bolin
66cbe5ac63 fix: change OPENAI_DEFAULT_MODEL to "2025-08-06-model" 2025-08-07 09:49:32 -07:00
pakrym-oai
62ed5907f9 Better usage errors (#1941)
<img width="771" height="279" alt="image"
src="https://github.com/user-attachments/assets/e56f967f-bcd7-49f7-8a94-3d88df68b65a"
/>
2025-08-07 09:46:13 -07:00
Dylan
bc28b87c7b [config] Onboarding flow with persistence (#1929)
## Summary
In collaboration with @gpeal: upgrade the onboarding flow, and persist
user settings.

---------

Co-authored-by: Gabriel Peal <gabriel@openai.com>
2025-08-07 09:27:38 -07:00
pakrym-oai
7e9ecfbc6a Rename the model (#1942) 2025-08-07 09:07:51 -07:00
Michael Bolin
6a3c050193 Merge 21ce054ffd into sapling-pr-archive-bolinfest 2025-08-07 08:57:16 -07:00
Michael Bolin
21ce054ffd fix: change OPENAI_DEFAULT_MODEL to "2025-08-06-model" 2025-08-07 08:56:28 -07:00
pakrym-oai
c87fb83d81 Calculate remaining context based on last token usage (#1940)
We should only take last request size (in tokens) into account
2025-08-07 05:17:18 -07:00
ae
81b148bda2 feat: update system prompt (#1939) 2025-08-07 04:29:50 -07:00
ae
12d29c2779 feat: add tip to upgrade to ChatGPT plan (#1938) 2025-08-07 11:10:13 +00:00
ae
c4dc6a80bf feat: improve output of /status (#1936)
Now it looks like this:
```
/status
📂 Workspace
  • Path: ~/code/codex/codex-rs
  • Approval Mode: on-request
  • Sandbox: workspace-write

👤 Account
  • Signed in with ChatGPT
  • Login: example@example.com
  • Plan: Pro

🧠 Model
  • Name: ?!?!?!?!?!
  • Provider: OpenAI

📊 Token Usage
  • Input: 11940 (+ 7999 cached)
  • Output: 2639
  • Total: 14579
```
2025-08-07 12:02:58 +01:00
ae
7c20160676 feat: /prompts slash command (#1937)
- Shows several example prompts which include @-mentions 

------
https://chatgpt.com/codex/tasks/task_i_6894779ba8cc832ca0c871d17ee06aae
2025-08-07 11:55:59 +01:00