mirror of
https://github.com/openai/codex.git
synced 2026-11-04 16:26:32 +00:00
Use consistent TUI input placeholders (#37360)
## What changed - Show `Ask Codex to do anything` in the main conversation input. - Show `Ask a follow-up question` in side conversation inputs. - Remove randomized example prompt selection and update the side conversation snapshots. GitOrigin-RevId: 2f6d310cf80bfa9743b7695621892a821eda4a18
This commit is contained in:
1 parent
2801d12661
commit
5bdc889708
5 files changed
+6
-29
No files matched your search
@@ -36,10 +36,8 @@ impl ChatWidget {
|
||||
let mut config = config;
|
||||
config.model = model.clone();
|
||||
let prevent_idle_sleep = config.features.enabled(Feature::PreventIdleSleep);
|
||||
let mut rng = rand::rng();
|
||||
let placeholder = PLACEHOLDERS[rng.random_range(0..PLACEHOLDERS.len())].to_string();
|
||||
let side_placeholder =
|
||||
SIDE_PLACEHOLDERS[rng.random_range(0..SIDE_PLACEHOLDERS.len())].to_string();
|
||||
let placeholder = PLACEHOLDER.to_string();
|
||||
let side_placeholder = SIDE_PLACEHOLDER.to_string();
|
||||
|
||||
let model_override = model.as_deref();
|
||||
let model_for_header = model
|
||||
|
||||
Reference in new issue
Block a user