Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: rename INIT.md to prompt_for_init_command.md and move closer to usage (#1886)

Michael Bolin4344537742f3
diff --git a/INIT.md b/codex-rs/tui/prompt_for_init_command.md
similarity index 100%
rename from INIT.md
rename to codex-rs/tui/prompt_for_init_command.md
diff --git a/codex-rs/tui/src/app.rs b/codex-rs/tui/src/app.rs
index f1807da1c9..47e20287bd 100644
--- a/codex-rs/tui/src/app.rs
+++ b/codex-rs/tui/src/app.rs
@@ -303,7 +303,7 @@ impl App<'_> {
SlashCommand::Init => {
// Guard: do not run if a task is active.
if let AppState::Chat { widget } = &mut self.app_state {
- const INIT_PROMPT: &str = include_str!("../../../INIT.md");
+ const INIT_PROMPT: &str = include_str!("../prompt_for_init_command.md");
widget.submit_text_message(INIT_PROMPT.to_string());
}
}