mirror of
https://github.com/openai/codex.git
synced 2026-11-03 00:21:31 +00:00
chore: rename INIT.md to prompt_for_init_command.md and move closer to usage (#1886)
Addressing my post-commit review feedback on https://github.com/openai/codex/pull/1822.
This commit is contained in:
1 parent
64f2f2eca2
commit
4344537742
2 files changed
+1
-1
No files matched your search
File renamed without changes.
@@ -303,7 +303,7 @@ impl App<'_> {
|
|||||||
SlashCommand::Init => {
|
SlashCommand::Init => {
|
||||||
// Guard: do not run if a task is active.
|
// Guard: do not run if a task is active.
|
||||||
if let AppState::Chat { widget } = &mut self.app_state {
|
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());
|
widget.submit_text_message(INIT_PROMPT.to_string());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user