-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Version: 3.23.12
API Provider: Anthropic
Model: sonnet-3.5
What happened?
The [TASK RESUMPTION] message that appears when a task is interrupted can confuse the model and trigger unnecessary re-reads because it suggests things have changed when they haven't.
The current message states:
[TASK RESUMPTION] This task was interrupted 1 minute ago. 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.
Note: 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.
This is particularly problematic when a user cancels to provide additional information or change direction, and then the model is told that information is stale.
Expected behavior
The model should assume tasks are up to date since <environment_details> will always be provided fresh with any necessary information (e.g., recently modified files).
The message should be removed entirely or significantly simplified to avoid suggesting that information has become stale when it hasn't.
Steps to reproduce
- Start a task with the model
- Cancel the task to provide additional information
- Resume the task after quite a while (ie, starting the next work day)
- Observe the model being told information may be stale, triggering unnecessary re-reads
Additional context
Users may come back to a task the next day, but if nothing has changed in the workspace, there's no need to suggest that information is stale or that re-reads are necessary.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status