From 0961f18381504e310b4122c2bc894afca1add2c4 Mon Sep 17 00:00:00 2001 From: Meghan Morrow <129645384+STUzhy@users.noreply.github.com> Date: Wed, 18 Jun 2025 22:17:01 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=9B=B4=E6=96=B0task-loop?= =?UTF-8?q?=E6=B3=A8=E9=87=8A=EF=BC=8C=E7=A7=BB=E9=99=A4=E8=BF=87=E6=97=B6?= =?UTF-8?q?=E7=9A=84XML=E5=B7=A5=E5=85=B7=E8=B0=83=E7=94=A8=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除handleChunkDeltaContent函数注释中关于XML指令包裹的toolcall描述 - 该功能现在在toolcalled生命周期后处理,而非chunk生命周期中处理 --- renderer/src/components/main-panel/chat/core/task-loop.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/renderer/src/components/main-panel/chat/core/task-loop.ts b/renderer/src/components/main-panel/chat/core/task-loop.ts index 2a051dd..b338ef1 100644 --- a/renderer/src/components/main-panel/chat/core/task-loop.ts +++ b/renderer/src/components/main-panel/chat/core/task-loop.ts @@ -93,7 +93,6 @@ export class TaskLoop { /** * @description 处理 streaming 输出的每一个分块的 content 部分 - * 值得一提的是,如果开启了 xml 指令包裹,那么 toocall 模块部分也由此处来完成 * @param chunk * @param chatData */