Commit Graph

8634 Commits

Author SHA1 Message Date
Michael Bolin
e4e3b3399e merge commit for archive created by Sapling 2025-05-08 16:17:09 -07:00
Michael Bolin
9991cb43f6 fix: use continue-on-error: true to tidy up GitHub Action 2025-05-08 16:16:59 -07:00
Michael Bolin
9ca1a68541 merge commit for archive created by Sapling 2025-05-08 16:12:43 -07:00
Michael Bolin
6cb677f2ab fix: use continue-on-error: true to tidy up GitHub Action 2025-05-08 16:12:33 -07:00
Michael Bolin
aac4fbd28d merge commit for archive created by Sapling 2025-05-08 16:11:27 -07:00
Michael Bolin
c9e9b1b365 fix: use continue-on-error: true to tidy up GitHub Action 2025-05-08 16:11:19 -07:00
Michael Bolin
a9adb4175c fix: enable clippy on tests (#870)
https://github.com/openai/codex/pull/855 added the clippy warning to
disallow `unwrap()`, but apparently we were not verifying that tests
were "clippy clean" in CI, so I ended up with a lot of local errors in
VS Code.

This turns on the check in CI and fixes the offenders.
2025-05-08 16:02:56 -07:00
Michael Bolin
35d7d23da4 Merge 81b854604e into sapling-pr-archive-bolinfest 2025-05-08 15:57:30 -07:00
Michael Bolin
81b854604e fix: enable clippy on tests 2025-05-08 15:57:24 -07:00
Michael Bolin
bda6cf4db9 Merge f0498675b6 into sapling-pr-archive-bolinfest 2025-05-08 15:53:18 -07:00
Michael Bolin
f0498675b6 fix: enable clippy on tests 2025-05-08 15:53:13 -07:00
Michael Bolin
c977e80515 Merge b07e74a95e into sapling-pr-archive-bolinfest 2025-05-08 15:40:16 -07:00
Michael Bolin
b07e74a95e fix: enable clippy on tests 2025-05-08 15:40:08 -07:00
Michael Bolin
2b5e41db65 Merge a32d8f8e3b into sapling-pr-archive-bolinfest 2025-05-08 15:17:39 -07:00
Michael Bolin
a32d8f8e3b feat: support the chat completions API in the Rust CLI 2025-05-08 15:17:29 -07:00
Michael Bolin
699ec5a87f fix: remove wrapping in Rust TUI that was incompatible with scrolling math (#868)
I noticed that sometimes I would enter a new message, but it would not
show up in the conversation history. Even if I focused the conversation
history and tried to scroll it to the bottom, I could not bring it into
view. At first, I was concerned that messages were not making it to the
UI layer, but I added debug statements and verified that was not the
issue.

It turned out that, previous to this PR, lines that are wider than the
viewport take up multiple lines of vertical space because `wrap()` was
set on the `Paragraph` inside the scroll pane. Unfortunately, that broke
our "scrollbar math" that assumed each `Line` contributes one line of
height in the UI.

This PR removes the `wrap()`, but introduces a new issue, which is that
now you cannot see long lines without resizing your terminal window. For
now, I filed an issue here:

https://github.com/openai/codex/issues/869

I think the long-term fix is to fix our math so it calculates the height
of a `Line` after it is wrapped given the current width of the viewport.
2025-05-08 15:17:17 -07:00
Michael Bolin
cc48304d61 Merge 3d676c3032 into sapling-pr-archive-bolinfest 2025-05-08 15:09:40 -07:00
Michael Bolin
3d676c3032 fix: remove wrapping in Rust TUI that was incompatible with scrolling math 2025-05-08 15:09:33 -07:00
Michael Bolin
55807005da Merge e57d102e88 into sapling-pr-archive-bolinfest 2025-05-08 13:55:53 -07:00
Michael Bolin
e57d102e88 feat: support the chat completions API in the Rust CLI 2025-05-08 13:55:49 -07:00
Michael Bolin
5decf2267c merge commit for archive created by Sapling 2025-05-08 13:53:25 -07:00
Michael Bolin
f403b25c84 feat: support the chat completions API in the Rust CLI 2025-05-08 13:53:11 -07:00
Michael Bolin
9bfed3a8fd Merge f45974fcf6 into sapling-pr-archive-bolinfest 2025-05-08 13:47:11 -07:00
Michael Bolin
f45974fcf6 feat: support the chat completions API in the Rust CLI 2025-05-08 13:47:07 -07:00
Michael Bolin
fb6dab2afc merge commit for archive created by Sapling 2025-05-08 13:25:11 -07:00
Michael Bolin
6f37f2d828 feat: support the chat completions API in the Rust CLI 2025-05-08 13:25:05 -07:00
Michael Bolin
ca37891b68 merge commit for archive created by Sapling 2025-05-08 12:57:54 -07:00
Michael Bolin
294634377b feat: support the chat completions API in the Rust CLI 2025-05-08 12:57:49 -07:00
Michael Bolin
fbbc809820 merge commit for archive created by Sapling 2025-05-08 12:44:47 -07:00
Michael Bolin
81fc1307d5 feat: support the chat completions API in the Rust CLI 2025-05-08 12:44:41 -07:00
Michael Bolin
833a96d0b9 merge commit for archive created by Sapling 2025-05-08 12:41:49 -07:00
Michael Bolin
dd4f0453d5 feat: support the chat completions API in the Rust CLI 2025-05-08 12:41:43 -07:00
Michael Bolin
e02ffee98d merge commit for archive created by Sapling 2025-05-08 12:35:18 -07:00
Michael Bolin
1972da7d9f feat: support the chat completions API in the Rust CLI 2025-05-08 12:35:10 -07:00
Michael Bolin
3c94aa7db1 merge commit for archive created by Sapling 2025-05-08 12:33:42 -07:00
Michael Bolin
559982f1ec feat: support the chat completions API in the Rust CLI 2025-05-08 12:33:35 -07:00
Michael Bolin
3257deb32d merge commit for archive created by Sapling 2025-05-08 12:26:15 -07:00
Michael Bolin
899d48bcc3 feat: support the chat completions API in the Rust CLI 2025-05-08 12:26:09 -07:00
Michael Bolin
c372943890 Merge 5dd91e47fe into sapling-pr-archive-bolinfest 2025-05-08 12:20:47 -07:00
Michael Bolin
5dd91e47fe feat: support the chat completions API in the Rust CLI 2025-05-08 12:20:41 -07:00
Michael Bolin
3bea5e1fd3 merge commit for archive created by Sapling 2025-05-08 11:46:53 -07:00
Michael Bolin
13fb820612 feat: support the chat completions API in the Rust CLI 2025-05-08 11:46:46 -07:00
Michael Bolin
bb793643fd merge commit for archive created by Sapling 2025-05-08 11:29:23 -07:00
Michael Bolin
046d8ca49f feat: support the chat completions API in the Rust CLI 2025-05-08 11:29:17 -07:00
Michael Bolin
738c6f9884 Merge f4400df0f8 into sapling-pr-archive-bolinfest 2025-05-08 11:08:26 -07:00
Michael Bolin
f4400df0f8 feat: support the chat completions API in the Rust CLI 2025-05-08 11:08:22 -07:00
Michael Bolin
7d63895d93 merge commit for archive created by Sapling 2025-05-08 11:02:53 -07:00
Michael Bolin
b09190e842 feat: support the chat completions API in the Rust CLI 2025-05-08 11:02:48 -07:00
Michael Bolin
59c61b1a14 Merge ffda803fb7 into sapling-pr-archive-bolinfest 2025-05-08 10:49:41 -07:00
Michael Bolin
ffda803fb7 feat: support the chat completions API in the Rust CLI 2025-05-08 10:49:35 -07:00