Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

fix: properly reset nudge counter after prune tool is used#133

Merged
Tarquinen merged 2 commits intodevOpencode-DCP/opencode-dynamic-context-pruning:devfrom
fix/nudge-counter-resetOpencode-DCP/opencode-dynamic-context-pruning:fix/nudge-counter-resetCopy head branch name to clipboard
Dec 15, 2025
Merged

fix: properly reset nudge counter after prune tool is used#133
Tarquinen merged 2 commits intodevOpencode-DCP/opencode-dynamic-context-pruning:devfrom
fix/nudge-counter-resetOpencode-DCP/opencode-dynamic-context-pruning:fix/nudge-counter-resetCopy head branch name to clipboard

Conversation

@Tarquinen
Copy link
Collaborator

Summary

  • The nudge counter now correctly resets to zero when prune is used and only counts tools invoked since the last prune
  • Previously, the counter could become inaccurate across session reloads because only new tools were counted
  • Also increased tool cache size from 500 to 1000

The nudge counter now correctly resets to zero when prune is used and
only counts tools invoked since the last prune. Previously, the counter
could become inaccurate across session reloads. Also increased tool
cache size to 1000.
@Tarquinen Tarquinen merged commit 4cc05c6 into dev Dec 15, 2025
1 check passed
@Tarquinen Tarquinen deleted the fix/nudge-counter-reset branch December 15, 2025 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.