mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-11 17:20:53 +08:00
fix(feishu): preserve long streaming replies
Keep a bounded streaming preview, then deliver the complete final answer across multiple cards. Preserve all provider message IDs and cover long snapshots and Unicode boundaries with regression tests. Fixes #78
This commit is contained in:
parent
71ca552113
commit
6c6d4af936
7 changed files with 522 additions and 239 deletions
|
|
@ -335,6 +335,8 @@ export default {
|
|||
// feishu/feishu-channel.mjs
|
||||
'正在生成…': 'Generating…',
|
||||
'回答完成': 'Answer complete',
|
||||
'内容较长,生成完成后将分段发送完整回答。':
|
||||
'This response is long. The complete answer will be sent in parts when generation finishes.',
|
||||
'飞书机器人': 'Feishu bot',
|
||||
|
||||
// feishu/message-utils.mjs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue