Dax Raad 9 ماه پیش
والد
کامیت
979bad3e64
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      packages/opencode/src/session/index.ts

+ 3 - 3
packages/opencode/src/session/index.ts

@@ -492,9 +492,9 @@ export namespace Session {
             )
             if (match && match.type === "tool-invocation") {
               match.toolInvocation = {
-                args: match.toolInvocation.args,
-                toolCallId: match.toolInvocation.toolCallId,
-                toolName: match.toolInvocation.toolName,
+                args: value.args,
+                toolCallId: value.toolCallId,
+                toolName: value.toolName,
                 state: "result",
                 result: value.result as string,
               }