chore: generate

This commit is contained in:
opencode-agent[bot]
2026-02-05 06:08:54 +00:00
parent 9ef319f25f
commit d3a247bfff
2 changed files with 9 additions and 16 deletions

View File

@@ -1379,7 +1379,7 @@ export type PermissionConfig =
| PermissionActionConfig | PermissionActionConfig
export type AgentConfig = { export type AgentConfig = {
model?: string model?: Model
/** /**
* Default model variant for this agent (applies only when using the agent's configured model). * Default model variant for this agent (applies only when using the agent's configured model).
*/ */
@@ -1421,6 +1421,7 @@ export type AgentConfig = {
permission?: PermissionConfig permission?: PermissionConfig
[key: string]: [key: string]:
| unknown | unknown
| Model
| string | string
| number | number
| { | {
@@ -1650,7 +1651,7 @@ export type Config = {
template: string template: string
description?: string description?: string
agent?: string agent?: string
model?: string model?: Model
subtask?: boolean subtask?: boolean
} }
} }
@@ -1688,14 +1689,8 @@ export type Config = {
* When set, ONLY these providers will be enabled. All other providers will be ignored * When set, ONLY these providers will be enabled. All other providers will be ignored
*/ */
enabled_providers?: Array<string> enabled_providers?: Array<string>
/** model?: Model
* Model to use in the format of provider/model, eg anthropic/claude-2 small_model?: Model
*/
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. * 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.
*/ */

View File

@@ -9028,7 +9028,7 @@
"type": "object", "type": "object",
"properties": { "properties": {
"model": { "model": {
"type": "string" "$ref": "#/components/schemas/Model"
}, },
"variant": { "variant": {
"description": "Default model variant for this agent (applies only when using the agent's configured model).", "description": "Default model variant for this agent (applies only when using the agent's configured model).",
@@ -9528,7 +9528,7 @@
"type": "string" "type": "string"
}, },
"model": { "model": {
"type": "string" "$ref": "#/components/schemas/Model"
}, },
"subtask": { "subtask": {
"type": "boolean" "type": "boolean"
@@ -9606,12 +9606,10 @@
} }
}, },
"model": { "model": {
"description": "Model to use in the format of provider/model, eg anthropic/claude-2", "$ref": "#/components/schemas/Model"
"type": "string"
}, },
"small_model": { "small_model": {
"description": "Small model to use for tasks like title generation in the format of provider/model", "$ref": "#/components/schemas/Model"
"type": "string"
}, },
"default_agent": { "default_agent": {
"description": "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.", "description": "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.",