summaryrefslogtreecommitdiffhomepage
path: root/packages/sdk/js
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-02-05 00:31:08 -0600
committerGitHub <[email protected]>2026-02-05 00:31:08 -0600
commit8c8d8881400db46abf723293e80f03309064834f (patch)
treefd39e23190f23591caaa976bdaf0da9b7ed5a318 /packages/sdk/js
parentd3a247bfff57dca2737b4c82f8b3c4c998b06d17 (diff)
downloadopencode-8c8d8881400db46abf723293e80f03309064834f.tar.gz
opencode-8c8d8881400db46abf723293e80f03309064834f.zip
Revert: feat: add models.dev schema ref for model autocomplete in ope… (#12242)
Diffstat (limited to 'packages/sdk/js')
-rw-r--r--packages/sdk/js/src/v2/gen/types.gen.ts15
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/sdk/js/src/v2/gen/types.gen.ts b/packages/sdk/js/src/v2/gen/types.gen.ts
index 10483d71e..cb1606e3f 100644
--- a/packages/sdk/js/src/v2/gen/types.gen.ts
+++ b/packages/sdk/js/src/v2/gen/types.gen.ts
@@ -1379,7 +1379,7 @@ export type PermissionConfig =
| PermissionActionConfig
export type AgentConfig = {
- model?: Model
+ model?: string
/**
* Default model variant for this agent (applies only when using the agent's configured model).
*/
@@ -1421,7 +1421,6 @@ export type AgentConfig = {
permission?: PermissionConfig
[key: string]:
| unknown
- | Model
| string
| number
| {
@@ -1651,7 +1650,7 @@ export type Config = {
template: string
description?: string
agent?: string
- model?: Model
+ model?: string
subtask?: boolean
}
}
@@ -1689,8 +1688,14 @@ export type Config = {
* When set, ONLY these providers will be enabled. All other providers will be ignored
*/
enabled_providers?: Array<string>
- model?: Model
- small_model?: Model
+ /**
+ * Model to use in the format of provider/model, eg anthropic/claude-2
+ */
+ model?: string
+ /**
+ * Small model to use for tasks like title generation in the format of provider/model
+ */
+ small_model?: string
/**
* Default agent to use when none is specified. Must be a primary agent. Falls back to 'build' if not set or if the specified agent is invalid.
*/