Lightweight coding agent that runs in your terminal
Rust
Moving the compact prompt near where it's used (#2031)
aibrahim-oai6cfee156121c
diff --git a/codex-rs/core/src/codex.rs b/codex-rs/core/src/codex.rsindex 385361e8ff..ada5b2886f 100644--- a/codex-rs/core/src/codex.rs+++ b/codex-rs/core/src/codex.rs@@ -1018,7 +1018,7 @@ async fn submission_loop(};// Create a summarization request as user input- const SUMMARIZATION_PROMPT: &str = include_str!("../../../SUMMARY.md");+ const SUMMARIZATION_PROMPT: &str = include_str!("prompt_for_compact_command.md");// Attempt to inject input into current taskif let Err(items) = sess.inject_input(vec![InputItem::Text {diff --git a/SUMMARY.md b/codex-rs/core/src/prompt_for_compact_command.mdsimilarity index 100%rename from SUMMARY.mdrename to codex-rs/core/src/prompt_for_compact_command.md