Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Jan 17, 2026

Description

Eliminates duplicate addition of tool message in case of tool error e.g.

{"type":"error","error":{"type":"invalid_request_error","message":"messages.8.content.4: each tool_use must have a single result. Found multiple `tool_result` blocks with id: toolu_01WRZpMS3e1ifYDENKX7zSU4"},"request_id":"req_011CXATvFqsCTCo9Cp38gGSW"}

Continue Tasks

Status Task Actions
▶️ Queued Create GitHub Issue (OS) View
▶️ Queued Update PostHog Dashboards View

Powered by Continue

@RomneyDa RomneyDa requested a review from a team as a code owner January 17, 2026 01:50
@RomneyDa RomneyDa requested review from sestinj and removed request for a team January 17, 2026 01:50
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 17, 2026
@github-actions
Copy link

github-actions bot commented Jan 17, 2026

✅ Review Complete

Code Review Summary

⚠️ Continue API authentication failed. Please check your CONTINUE_API_KEY.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 1 file

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="extensions/cli/src/stream/handleToolCalls.ts">

<violation number="1" location="extensions/cli/src/stream/handleToolCalls.ts:151">
P1: Fallback path drops tool results when chat history service is unavailable; tool outputs no longer stored in local toolCallStates</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jan 17, 2026
@sestinj sestinj merged commit 585d253 into main Jan 17, 2026
57 of 58 checks passed
@sestinj sestinj deleted the dallin/duplicate-tool-messages branch January 17, 2026 04:04
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Jan 17, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 17, 2026
@sestinj
Copy link
Contributor

sestinj commented Jan 22, 2026

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

released size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants