GitHub Action 1 месяц назад
Родитель
Сommit
2abafbcd2f
2 измененных файлов с 32 добавлено и 0 удалено
  1. 8 0
      packages/sdk/js/src/v2/gen/types.gen.ts
  2. 24 0
      packages/sdk/openapi.json

+ 8 - 0
packages/sdk/js/src/v2/gen/types.gen.ts

@@ -429,6 +429,10 @@ export type Part =
       prompt: string
       description: string
       agent: string
+      model?: {
+        providerID: string
+        modelID: string
+      }
       command?: string
     }
   | ReasoningPart
@@ -1853,6 +1857,10 @@ export type SubtaskPartInput = {
   prompt: string
   description: string
   agent: string
+  model?: {
+    providerID: string
+    modelID: string
+  }
   command?: string
 }
 

+ 24 - 0
packages/sdk/openapi.json

@@ -6842,6 +6842,18 @@
               "agent": {
                 "type": "string"
               },
+              "model": {
+                "type": "object",
+                "properties": {
+                  "providerID": {
+                    "type": "string"
+                  },
+                  "modelID": {
+                    "type": "string"
+                  }
+                },
+                "required": ["providerID", "modelID"]
+              },
               "command": {
                 "type": "string"
               }
@@ -9797,6 +9809,18 @@
           "agent": {
             "type": "string"
           },
+          "model": {
+            "type": "object",
+            "properties": {
+              "providerID": {
+                "type": "string"
+              },
+              "modelID": {
+                "type": "string"
+              }
+            },
+            "required": ["providerID", "modelID"]
+          },
           "command": {
             "type": "string"
           }