Moving the compact prompt near where it's used (#2031)

- Moved the prompt for compact to core
- Renamed it to be more clear
This commit is contained in:
aibrahim-oai 2025-08-08 12:43:43 -07:00 committed by GitHub
parent 216e9e2ed0
commit 6cfee15612
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 1 deletions

View file

@ -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 task
if let Err(items) = sess.inject_input(vec![InputItem::Text {