summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2026-01-15 23:19:16 +0000
committerGitHub Action <[email protected]>2026-01-15 23:19:16 +0000
commit2abafbcd2f09430671fc9702e1d51f3bf14f5fd3 (patch)
treed2c92c300eb525408386bcd8a503ed34742a5696
parent8b08d340acb99f4fae71c974f2f430154c1d6cc1 (diff)
downloadopencode-2abafbcd2f09430671fc9702e1d51f3bf14f5fd3.tar.gz
opencode-2abafbcd2f09430671fc9702e1d51f3bf14f5fd3.zip
chore: generate
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts8
-rw-r--r--packages/sdk/openapi.json24
2 files changed, 32 insertions, 0 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index 9c4f0e50d..7fad08e71 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/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
}
diff --git a/packages/sdk/openapi.json b/packages/sdk/openapi.json
index 20b1029fc..fd46f7c78 100644
--- a/packages/sdk/openapi.json
+++ b/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"
}