Skip to content

fix: add new tool blocks in UPDATE_TOOL_BLOCK reducer when not found#79

Merged
lewis617 merged 1 commit into
mainfrom
fix-tool-block
Jun 30, 2026
Merged

fix: add new tool blocks in UPDATE_TOOL_BLOCK reducer when not found#79
lewis617 merged 1 commit into
mainfrom
fix-tool-block

Conversation

@lewis617

Copy link
Copy Markdown
Contributor

The UPDATE_TOOL_BLOCK reducer was returning early when a tool block
wasn't found, but during incremental streaming callbacks, new tool
blocks need to be added to the frontend state. Now creates new tool
blocks if they don't exist, fixing tool display after switching to
incremental callbacks.

The UPDATE_TOOL_BLOCK reducer was returning early when a tool block
wasn't found, but during incremental streaming callbacks, new tool
blocks need to be added to the frontend state. Now creates new tool
blocks if they don't exist, fixing tool display after switching to
incremental callbacks.
@lewis617 lewis617 merged commit 96fe091 into main Jun 30, 2026
1 check passed
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