feat: support configuring a default_agent across all API/user surfaces (#5843)

This commit is contained in:
Matt Silverlock
2025-12-20 11:46:48 -06:00
committed by GitHub
parent da6e0e60c0
commit 21bee38610
14 changed files with 128 additions and 12 deletions
+5
View File
@@ -1414,6 +1414,10 @@ export type Config = {
* 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?: string
/**
* Custom username to display in conversations instead of system username
*/
@@ -1767,6 +1771,7 @@ export type Agent = {
mode: "subagent" | "primary" | "all"
native?: boolean
hidden?: boolean
default?: boolean
topP?: number
temperature?: number
color?: string