فهرست منبع

chore: generate

opencode-agent[bot] 2 ماه پیش
والد
کامیت
1490752059
2فایلهای تغییر یافته به همراه5 افزوده شده و 8 حذف شده
  1. 2 8
      packages/core/src/session/runner/model.ts
  2. 3 0
      packages/sdk/openapi.json

+ 2 - 8
packages/core/src/session/runner/model.ts

@@ -172,14 +172,8 @@ export const fromCatalogModel = (
   )
 }
 
-export const resolve = (
-  session: SessionSchema.Info,
-  model: ModelV2.Info,
-  credential?: Credential.Value,
-) =>
-  withVariant(model, session.model?.variant).pipe(
-    Effect.flatMap((model) => fromCatalogModel(model, credential)),
-  )
+export const resolve = (session: SessionSchema.Info, model: ModelV2.Info, credential?: Credential.Value) =>
+  withVariant(model, session.model?.variant).pipe(Effect.flatMap((model) => fromCatalogModel(model, credential)))
 
 export const supported = (model: ModelV2.Info) =>
   model.api.type === "aisdk" &&

+ 3 - 0
packages/sdk/openapi.json

@@ -27313,6 +27313,9 @@
           "id": {
             "type": "string"
           },
+          "integrationID": {
+            "type": "string"
+          },
           "name": {
             "type": "string"
           },