mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 01:53:21 +08:00
feat(qq): push progress and answers as separate messages
Replace the in-place streaming reply (openStream replace-mode frames) with discrete pushed messages, so the chat no longer flickers while the turn is running: - each tool call pushes one notice message (正在使用X…); status frames such as '正在整理结果…' and per-token text frames are not pushed - the final answer arrives as one new markdown message - a stopped turn still announces '已停止。'; no stream session is created, so there is nothing to cancel or finalize
This commit is contained in:
parent
6b176d9053
commit
6171ec0dc1
3 changed files with 101 additions and 160 deletions
136
lib/index.js
136
lib/index.js
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue