Skip to content

feat: support end-to-end tool input streaming - #91

Merged
ruibaby merged 1 commit into
mainfrom
feat/stream-tool-input-deltas
Jul 27, 2026
Merged

feat: support end-to-end tool input streaming#91
ruibaby merged 1 commit into
mainfrom
feat/stream-tool-input-deltas

Conversation

@LIlGG

@LIlGG LIlGG commented Jul 23, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

  • 为 OpenAI Compatible Provider 保留原生工具入参增量事件,并为不同流式协议提供可替换的 dialect 边界。
  • 增加工具入参 start、delta、available 回调及校验、修复、取消和错误处理流程。
  • 完善完整流、UI Message 协议和 npm SDK reducer 的工具入参生命周期支持。
  • 增加可取消的单次执行回放,确保多个流投影不会重复调用 Provider 或工具。
  • 在模型测试工作台增加工具入参流诊断单元,区分真实增量流式与 final-only。

Does this PR introduce a user-facing change?

支持在 UI Message 中实时传输工具调用入参

@LIlGG LIlGG closed this Jul 23, 2026
@LIlGG LIlGG reopened this Jul 23, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jul 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@halo-dev/ai-foundation-sdk@91

commit: 448e46f

@ruibaby
ruibaby merged commit 8f6fd66 into main Jul 27, 2026
5 of 6 checks passed
@ruibaby
ruibaby deleted the feat/stream-tool-input-deltas branch July 27, 2026 03:23
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