Skip to content

fix: Preserve UI message step boundaries#88

Merged
ruibaby merged 1 commit into
mainfrom
feat/preserve-multi-tool-reasoning
Jul 17, 2026
Merged

fix: Preserve UI message step boundaries#88
ruibaby merged 1 commit into
mainfrom
feat/preserve-multi-tool-reasoning

Conversation

@LIlGG

@LIlGG LIlGG commented Jul 16, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:

Persist generation step boundaries as step-start UI message parts and rebuild model history by generation step. This keeps reasoning and multiple tool calls from the same generation in one assistant message when continuing a conversation.

Resolve effective reasoning-history support from model-level tri-state overrides and provider defaults, and expose the configuration in the Console without adding provider-specific conversion branches.

Add Java and TypeScript regression coverage for multi-tool steps, persistence, validation, capability resolution, and unsupported reasoning history.

Does this PR introduce a user-facing change?

修复多工具调用续轮时推理上下文丢失的问题,并支持按模型配置推理历史回传。

@pkg-pr-new

pkg-pr-new Bot commented Jul 16, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 7533762

@ruibaby
ruibaby merged commit a1fcebf into main Jul 17, 2026
3 checks passed
@ruibaby
ruibaby deleted the feat/preserve-multi-tool-reasoning branch July 17, 2026 08:56
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