|
|
@@ -1379,7 +1379,7 @@ export type PermissionConfig =
|
|
|
| PermissionActionConfig
|
|
|
|
|
|
export type AgentConfig = {
|
|
|
- model?: string
|
|
|
+ model?: 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
|
|
|
[key: string]:
|
|
|
| unknown
|
|
|
+ | Model
|
|
|
| string
|
|
|
| number
|
|
|
| {
|
|
|
@@ -1650,7 +1651,7 @@ export type Config = {
|
|
|
template: string
|
|
|
description?: string
|
|
|
agent?: string
|
|
|
- model?: string
|
|
|
+ model?: Model
|
|
|
subtask?: boolean
|
|
|
}
|
|
|
}
|
|
|
@@ -1688,14 +1689,8 @@ export type Config = {
|
|
|
* When set, ONLY these providers will be enabled. All other providers will be ignored
|
|
|
*/
|
|
|
enabled_providers?: Array<string>
|
|
|
- /**
|
|
|
- * 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
|
|
|
+ model?: Model
|
|
|
+ small_model?: Model
|
|
|
/**
|
|
|
* 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.
|
|
|
*/
|