@wendongfly/myhi 1.3.141 → 1.3.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/chat.html CHANGED
@@ -2050,6 +2050,11 @@
2050
2050
  }
2051
2051
  }
2052
2052
  break;
2053
+ // 服务端主动发起的消息(自动接力发出的草稿)—— 渲染成用户气泡,
2054
+ // 跟你自己按回车发出来的长得一样,能看见原文而不只是一行系统提示。
2055
+ case 'user':
2056
+ if (msg.content) { endStream(); addInputMessage(msg.content); }
2057
+ break;
2053
2058
  case 'assistant':
2054
2059
  removeThinking();
2055
2060
  if (msg.message?.content) {