mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 04:41:16 -05:00
Modify resume task prompt
This commit is contained in:
@@ -604,7 +604,7 @@ export class ClaudeDev {
|
|||||||
})()
|
})()
|
||||||
|
|
||||||
const combinedText =
|
const combinedText =
|
||||||
`Task resumption: This autonomous coding task was interrupted ${agoText}. It may or may not be complete. Be aware that the conversation history and project state may have changed since then. The current working directory is now ${cwd}. Please reassess the task context before proceeding.` +
|
`Task resumption: This autonomous coding task was interrupted ${agoText}. It may or may not be complete, so please reassess the task context. Be aware that the project state may have changed since then. The current working directory is now ${cwd}. If the task has not been completed, retry the last step before interruption and proceed with completing the task.` +
|
||||||
(modifiedOldUserContentText
|
(modifiedOldUserContentText
|
||||||
? `\n\nLast recorded user input before interruption:\n<previous_message>\n${modifiedOldUserContentText}\n</previous_message>\n`
|
? `\n\nLast recorded user input before interruption:\n<previous_message>\n${modifiedOldUserContentText}\n</previous_message>\n`
|
||||||
: "") +
|
: "") +
|
||||||
|
|||||||
Reference in New Issue
Block a user