Fix system-message tools parser when tool call is non-terminal#11092
Open
MumuTW wants to merge 5 commits intocontinuedev:mainfrom
Open
Fix system-message tools parser when tool call is non-terminal#11092MumuTW wants to merge 5 commits intocontinuedev:mainfrom
MumuTW wants to merge 5 commits intocontinuedev:mainfrom
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
15c0036 to
cc09312
Compare
Contributor
Author
|
I have read the CLA Document and I hereby sign the CLA |
The `as typeof X & Y` type assertion was ambiguous to the TypeScript parser without parentheses, causing TS1005 errors across all CI checks. Simplify to `as any` since this is a test assertion. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
RomneyDa
requested changes
Mar 10, 2026
| }); | ||
|
|
||
| case "reasoning-delta": | ||
| return chatChunk({ |
Collaborator
There was a problem hiding this comment.
This change looks unrelated to PR description, could you remove this and the test file?
Contributor
Author
There was a problem hiding this comment.
Good catch — removed in ee012d3. Will open a separate PR for the reasoning-delta fix.
Per reviewer feedback — keeping this PR focused on the system-message tools parser fix.
b4fe40c to
ee012d3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
ELIFECYCLE Command failed.
WARN Local package.json exists, but node_modules missing, did you mean to install? (fails in this workspace because is missing and is unavailable)
Continue Tasks: 🔄 7 running — View all
Summary by cubic
Fix system-message tool-call parsing so completed calls don’t end the stream and text before/after a call is preserved, including mid-message calls. Also dedupe dynamic tool definitions and map "reasoning-delta" to reasoning_content.
Written for commit ee012d3. Summary will update on new commits.