Michael Bolin
df37e7e33d
chore: make CodexAuth::api_key a private field
2025-08-07 16:33:45 -07:00
Michael Bolin
db76f32888
chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption ( #1962 )
...
`CodexAuth::new()` was the first method listed in `CodexAuth`, but it is
only meant to be used by tests. Rename it to
`create_dummy_chatgpt_auth_for_testing()` and move it to the end of the
implementation.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/1962 ).
* #1971
* #1970
* #1966
* #1965
* __->__ #1962
2025-08-07 16:33:29 -07:00
Michael Bolin
81a549c685
merge commit for archive created by Sapling
2025-08-07 16:21:41 -07:00
Michael Bolin
dcab238fd1
fix: default to credits from ChatGPT auth, when possible
2025-08-07 16:21:37 -07:00
Michael Bolin
280c98ed79
merge commit for archive created by Sapling
2025-08-07 16:20:54 -07:00
Michael Bolin
9cd3a45f3e
fix: default to credits from ChatGPT auth, when possible
2025-08-07 16:20:48 -07:00
Michael Bolin
8631d73b4e
Merge 4f2436f271 into sapling-pr-archive-bolinfest
2025-08-07 16:16:25 -07:00
Michael Bolin
4f2436f271
fix: default to credits from ChatGPT auth, when possible
2025-08-07 16:16:21 -07:00
Michael Bolin
c45329f1bc
merge commit for archive created by Sapling
2025-08-07 15:53:57 -07:00
Michael Bolin
be1efb2575
fix: default to credits from ChatGPT auth, when possible
2025-08-07 15:53:51 -07:00
Michael Bolin
ae5a78f686
Merge f464733e2d into sapling-pr-archive-bolinfest
2025-08-07 15:49:08 -07:00
Michael Bolin
f464733e2d
fix: default to credits from ChatGPT auth, when possible
2025-08-07 15:48:58 -07:00
Michael Bolin
5dc812d738
chore: change CodexAuth::from_api_key() to take &str instead of String
2025-08-07 15:43:11 -07:00
Dylan
548466df09
[client] Tune retries and backoff ( #1956 )
...
## Summary
10 is a bit excessive 😅 Also updates our backoff factor to space out
requests further.
2025-08-07 15:23:31 -07:00
Michael Bolin
1e9bd5af5c
merge commit for archive created by Sapling
2025-08-07 15:10:24 -07:00
Michael Bolin
4366fa898a
chore: move top-level load_auth() to CodexAuth::from_codex_home()
2025-08-07 15:09:00 -07:00
Michael Bolin
333c49bfe7
chore: make CodexAuth::api_key a private field
2025-08-07 15:09:00 -07:00
Michael Bolin
da391eb8f4
chore: rename CodexAuth::new() to create_dummy_codex_auth_for_testing() because it is not for general consumption
2025-08-07 15:09:00 -07:00
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 and Alexander Embiricos
e07776ccc9
update readme ( #1948 )
...
Co-authored-by: Alexander Embiricos <ae@openai.com >
2025-08-07 11:20:53 -07:00