We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8051b9 commit 16eafd0Copy full SHA for 16eafd0
codex-rs/tui/src/bottom_pane/chat_composer.rs
@@ -90,13 +90,10 @@ impl ChatComposer<'_> {
90
// percentage.
91
100
92
};
93
- if percent_remaining > 25 {
94
- format!("{BASE_PLACEHOLDER_TEXT} — {percent_remaining}% context left")
95
- } else {
96
- format!(
97
- "{BASE_PLACEHOLDER_TEXT} — {percent_remaining}% context left (consider /compact)"
98
- )
99
- }
+ // When https://github.com/openai/codex/issues/1257 is resolved,
+ // check if `percent_remaining < 25`, and if so, recommend
+ // /compact.
+ format!("{BASE_PLACEHOLDER_TEXT} — {percent_remaining}% context left")
}
101
(total_tokens, None) => {
102
format!("{BASE_PLACEHOLDER_TEXT} — {total_tokens} tokens used")
0 commit comments