Skip to content

fix: remove duplicate word in compaction_control deprecation warning#1462

Open
xodn348 wants to merge 1 commit intoanthropics:mainfrom
xodn348:fix/deprecation-warning-typo
Open

fix: remove duplicate word in compaction_control deprecation warning#1462
xodn348 wants to merge 1 commit intoanthropics:mainfrom
xodn348:fix/deprecation-warning-typo

Conversation

@xodn348
Copy link
Copy Markdown

@xodn348 xodn348 commented Apr 28, 2026

What

Fixes a typo in the compaction_control deprecation warning in the tool runner. The message read "in your the params passed to tool_runner()" instead of "in the params passed to tool_runner()".

Fixed in both BaseSyncToolRunner and BaseAsyncToolRunner.

Verification

  • Build: pass
  • Tests: pass (93 passed, 1 skipped, 1 xfailed)
  • Lint: pass (ruff)
  • Type check: pass (pyright, 0 errors)

The deprecation warning for the `compaction_control` parameter contained
"in your the params" instead of "in the params". Fixed in both the sync
and async tool runner classes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@xodn348 xodn348 requested a review from a team as a code owner April 28, 2026 06:14
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