Skip to content

fix: ensure injected tool invocation results are appended to request body#189

Merged
dannykopping merged 2 commits intomainfrom
dk/ant-inj-tools-fix
Feb 23, 2026
Merged

fix: ensure injected tool invocation results are appended to request body#189
dannykopping merged 2 commits intomainfrom
dk/ant-inj-tools-fix

Conversation

@dannykopping
Copy link
Collaborator

Pass WithRequestBody per-request instead of per-service, and update the payload with injected tool invocation results.

Our current integration tests neglected to validate that tool results were passed after injected tool invocation, which led to a regression being introduced in #185.

Disclaimer: collaborated with Opus 4.6 on a solution

@dannykopping dannykopping requested a review from pawbana February 23, 2026 14:33
Copy link
Contributor

@pawbana pawbana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few nits, testing code is hacky but until refactor lands I think it is fine.

Signed-off-by: Danny Kopping <[email protected]>
@dannykopping dannykopping merged commit 105fbf2 into main Feb 23, 2026
4 checks passed
dannykopping added a commit to coder/coder that referenced this pull request Feb 23, 2026
dannykopping added a commit to coder/coder that referenced this pull request Feb 23, 2026
dannykopping added a commit to coder/coder that referenced this pull request Feb 23, 2026
dannykopping added a commit to coder/coder that referenced this pull request Feb 23, 2026
f0ssel pushed a commit to coder/coder that referenced this pull request Feb 23, 2026
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.

2 participants