summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-11 12:35:20 -0400
committerDax Raad <[email protected]>2025-06-11 12:35:20 -0400
commit979bad3e64e3fff43d41094a79c73deb31e82ec8 (patch)
tree7ca57f464986de87576f16938d9dcf6ba4c5c87d
parent300d0474a38d300c5d6b29ae89a4ae7fcd80329e (diff)
downloadopencode-979bad3e64e3fff43d41094a79c73deb31e82ec8.tar.gz
opencode-979bad3e64e3fff43d41094a79c73deb31e82ec8.zip
sync
-rw-r--r--packages/opencode/src/session/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/opencode/src/session/index.ts b/packages/opencode/src/session/index.ts
index 5e7d34b0d..ebe18ac44 100644
--- a/packages/opencode/src/session/index.ts
+++ b/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,
}