Skip to content

feat: re-announce tools after context compaction#20363

Closed
ToastyTheBot wants to merge 1 commit intoanomalyco:devfrom
ToastyTheBot:fix/issue-20290-reannounce-tools-after-compaction
Closed

feat: re-announce tools after context compaction#20363
ToastyTheBot wants to merge 1 commit intoanomalyco:devfrom
ToastyTheBot:fix/issue-20290-reannounce-tools-after-compaction

Conversation

@ToastyTheBot
Copy link
Copy Markdown

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

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
@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Mar 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

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.

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically closed.

@github-actions github-actions bot closed this Mar 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:compliance This means the issue will auto-close after 2 hours.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant