Skip to content

fix(llm): recover missing terminal content - #400

Open
yaojin3616 wants to merge 1 commit into
mainfrom
agent/debugger/f2fb4c0d949d
Open

fix(llm): recover missing terminal content#400
yaojin3616 wants to merge 1 commit into
mainfrom
agent/debugger/f2fb4c0d949d

Conversation

@yaojin3616

Copy link
Copy Markdown
Contributor

Summary

  • retain completed text, reasoning, and tool-call blocks while translating pi-ai streams
  • reconstruct a missing terminal message.content array before stop classification and replay persistence
  • preserve valid provider terminal messages unchanged

Verification

  • patch applies cleanly to the vendored @deepseek-ai/dsh-llm-pi-ai@0.1.2-rc.1 bundle
  • patched bundle passes node --check
  • focused behavioral assertion covers missing terminal content, content-index ordering, and valid-message identity preservation
  • git diff --check

Full Vitest execution was not available because the workspace disk had only about 357 MiB free and npm ci could not complete.

Fixes #379

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.

更新到v0.8.0后,无法对话

1 participant