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:
@@ -1018,7 +1018,7 @@ async fn submission_loop(
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Create a summarization request as user input
|
// 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
|
// Attempt to inject input into current task
|
||||||
if let Err(items) = sess.inject_input(vec![InputItem::Text {
|
if let Err(items) = sess.inject_input(vec![InputItem::Text {
|
||||||
|
|||||||
Reference in New Issue
Block a user