fix(core): respect v2 default agents (#30969)
This commit is contained in:
@@ -18,7 +18,6 @@ const keys = new Set([
|
||||
"disabled_providers",
|
||||
"enabled_providers",
|
||||
"small_model",
|
||||
"default_agent",
|
||||
"mode",
|
||||
"agent",
|
||||
"provider",
|
||||
@@ -38,6 +37,7 @@ export function migrate(info: typeof ConfigV1.Info.Type) {
|
||||
$schema: info.$schema,
|
||||
shell: info.shell,
|
||||
model: info.model,
|
||||
default_agent: info.default_agent,
|
||||
autoupdate: info.autoupdate,
|
||||
share: info.share ?? (info.autoshare ? "auto" : undefined),
|
||||
enterprise: info.enterprise,
|
||||
|
||||
Reference in New Issue
Block a user