feat: re-announce tools after context compaction#20363
feat: re-announce tools after context compaction#20363ToastyTheBot wants to merge 1 commit intoanomalyco:devfrom
Conversation
After session compaction completes, inject a synthetic user message that reminds the model it still has access to all previously available tools and capabilities. This helps prevent confusion when the model continues working after compaction. Refs: anomalyco#20290
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
This pull request has been automatically closed. |
|
The following comment was made by an LLM, it may be inaccurate: I found a potential duplicate: Related PR:
This PR appears to address the exact same issue as the current PR #20363. Both are about re-announcing tools after context compaction to ensure the model is reminded of its available tools and capabilities. PR #20289 may already be implementing this feature or addressing the same problem referenced in the current PR's description. |
After session compaction completes, inject a synthetic user message that reminds the model it still has access to all previously available tools and capabilities. This helps prevent confusion when the model continues working after compaction.
Refs: #20290