Files
metona-ollama-desktop/js/components
Metona 1de1084173 fix: 第一个chunk后loading class被移除导致后续内容更新全部跳过
updateLastAssistantMessage 的首次调用找到 .message.assistant.loading 后
立即 remove('loading'),导致后续 chunk 调用时选择器找不到元素,直接 return。

修复:
- 首次调用:找到 .loading,移除 loading 指示器,但保留 class 直到流结束
- 后续调用:.loading 选择器失败时回退到 .message.assistant:last-of-type
- loading class 在 sendMessage 的 try/finally 或 catch 中统一移除
2026-04-05 00:34:23 +08:00
..
2026-04-03 11:40:01 +08:00
2026-04-03 11:34:24 +08:00
2026-04-03 11:34:24 +08:00