Aiden Cline 3 месяцев назад
Родитель
Сommit
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",
             toolName: "bash",
             output: { type: "text", value: "ok" },
+            providerOptions: { openai: { tool: "meta" } },
           },
         ],
       },
@@ -433,6 +434,7 @@ describe("session.message-v2.toModelMessage", () => {
             toolCallId: "call-1",
             toolName: "bash",
             output: { type: "error-text", value: "nope" },
+            providerOptions: { openai: { tool: "meta" } },
           },
         ],
       },