From 2aba7b29137580ea86e2c3f14a8ca28e126559e8 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Thu, 8 Jan 2026 13:18:15 -0800 Subject: [PATCH] prompt --- codex-rs/tui/src/entertainment/generator.rs | 2 +- codex-rs/tui/src/entertainment/prompt.md | 16 +++++----------- codex-rs/tui/src/status_indicator_shimmer.rs | 1 - 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/codex-rs/tui/src/entertainment/generator.rs b/codex-rs/tui/src/entertainment/generator.rs index e1affca232..0cbf7c0f29 100644 --- a/codex-rs/tui/src/entertainment/generator.rs +++ b/codex-rs/tui/src/entertainment/generator.rs @@ -25,7 +25,7 @@ pub(crate) async fn generate_entertainment_texts( ); let mut config = config; config.model = Some("gpt-5-nano".to_string()); - config.model_reasoning_effort = None; + config.model_reasoning_effort = None; let new_thread = server.start_thread(config).await?; let schema = entertainment_output_schema(); let input = vec![UserInput::Text { text: prompt }]; diff --git a/codex-rs/tui/src/entertainment/prompt.md b/codex-rs/tui/src/entertainment/prompt.md index 77fb70e79f..cc9cb64a3c 100644 --- a/codex-rs/tui/src/entertainment/prompt.md +++ b/codex-rs/tui/src/entertainment/prompt.md @@ -4,15 +4,13 @@ Generate one status arc: an ordered list of 5-7 short lines that will be display Each line must: -- Be under 10 words -- Read like a status message, not a poem +- Be under 5 words - Use dry developer humor -- Blend technical language with human emotion -- Be suitable for a spinner, progress bar, or log panel +- Blend very little technical language with human emotion -The arc must have emotional progression: +The arc can have mix of emotional progression: -1. Start with confidence or optimism +1. confidence or optimism 2. Shift into uncertainty or effort 3. Dip into self-aware humor or mild dread 4. End with calm, hope, or ironic acceptance @@ -26,11 +24,7 @@ Context for this arc: Return only JSON with this shape: { - "texts": [ - "Starting deploy", - "Feeling optimistic", - "Waiting for logs" - ] + "texts": ["No more looping.", "No more coping.", "Promise.", "Pinky swear.", "Cross my heart.", "If it loops, I'll cry.", "If it works, I'll fly.", "Ok, focus."] } Examples diff --git a/codex-rs/tui/src/status_indicator_shimmer.rs b/codex-rs/tui/src/status_indicator_shimmer.rs index ab1d0c6cbb..0f7246b813 100644 --- a/codex-rs/tui/src/status_indicator_shimmer.rs +++ b/codex-rs/tui/src/status_indicator_shimmer.rs @@ -5,7 +5,6 @@ use std::time::Instant; use crate::entertainment::ShimmerText; -const SHIMMER_TEXT_INTERVAL: Duration = Duration::from_secs(1); const SHIMMER_FACE_INTERVAL: Duration = Duration::from_secs(2); pub(crate) struct RenderHeader {