Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

feat: add tip to upgrade to ChatGPT plan (#1938)

ae12d29c277942
diff --git a/codex-rs/tui/src/history_cell.rs b/codex-rs/tui/src/history_cell.rs
index 5d2ea35c4f..61ab01e965 100644
--- a/codex-rs/tui/src/history_cell.rs
+++ b/codex-rs/tui/src/history_cell.rs
@@ -543,7 +543,9 @@ impl HistoryCell {
match auth.openai_api_key.as_deref() {
Some(key) if !key.is_empty() => {
- lines.push(Line::from(" • Using API key"));
+ lines.push(Line::from(
+ " • Using API key. Run codex login to use ChatGPT plan",
+ ));
}
_ => {
let plan_text = info