Aiden Cline пре 3 месеци
родитељ
комит
d527ceeb2b
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      packages/opencode/test/session/message-v2.test.ts

+ 2 - 0
packages/opencode/test/session/message-v2.test.ts

@@ -298,6 +298,7 @@ describe("session.message-v2.toModelMessage", () => {
             toolCallId: "call-1",
             toolCallId: "call-1",
             toolName: "bash",
             toolName: "bash",
             output: { type: "text", value: "ok" },
             output: { type: "text", value: "ok" },
+            providerOptions: { openai: { tool: "meta" } },
           },
           },
         ],
         ],
       },
       },
@@ -433,6 +434,7 @@ describe("session.message-v2.toModelMessage", () => {
             toolCallId: "call-1",
             toolCallId: "call-1",
             toolName: "bash",
             toolName: "bash",
             output: { type: "error-text", value: "nope" },
             output: { type: "error-text", value: "nope" },
+            providerOptions: { openai: { tool: "meta" } },
           },
           },
         ],
         ],
       },
       },