mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
fix: Remove misleading [TASK RESUMPTION] message
- Simplified the task resumption message to remove misleading language about stale information - Removed "It may or may not be complete, so please reassess the task context" - Removed "Be aware that the project state may have changed since then" - Kept essential information about task interruption and tool state - Fixes issue where model would unnecessarily re-read files and reassess context Fixes #5850
This commit is contained in:
parent
a28d50e20c
commit
37f31860cb
1 changed files with 1 additions and 1 deletions
|
|
@ -1000,7 +1000,7 @@ export class Task extends EventEmitter<ClineEvents> {
|
|||
newUserContent.push({
|
||||
type: "text",
|
||||
text:
|
||||
`[TASK RESUMPTION] This 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. If the task has not been completed, retry the last step before interruption and proceed with completing the task.\n\nNote: If you previously attempted a tool use that the user did not provide a result for, you should assume the tool use was not successful and assess whether you should retry. If the last tool was a browser_action, the browser has been closed and you must launch a new browser if needed.${
|
||||
`[TASK RESUMPTION] This task was interrupted ${agoText}. If the task has not been completed, continue with completing the task.\n\nNote: If you previously attempted a tool use that the user did not provide a result for, you should assume the tool use was not successful and assess whether you should retry. If the last tool was a browser_action, the browser has been closed and you must launch a new browser if needed.${
|
||||
wasRecent
|
||||
? "\n\nIMPORTANT: If the last tool use was a write_to_file that was interrupted, the file was reverted back to its original state before the interrupted edit, and you do NOT need to re-read the file as you already have its up-to-date contents."
|
||||
: ""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue