4.3 模型选择与默认策略
最后更新于
{
agents: {
defaults: {
model: {
primary: "openai/gpt-5.4",
fallbacks: [
"anthropic/claude-sonnet-4-6",
],
},
},
},
}{
agents: {
defaults: {
model: {
primary: "anthropic/claude-sonnet-4-6",
fallbacks: [
"openrouter/anthropic/claude-sonnet-4-6",
"openai/gpt-5.4",
],
},
},
},
}{
agents: {
defaults: {
model: {
primary: "openai/gpt-5.4",
},
},
},
}{
agents: {
list: [
{
id: "assistant",
model: {
primary: "openai/gpt-5.4",
},
},
{
id: "fast",
model: {
primary: "<provider/low-latency-model>", // 轻量模型占位,替换为本地 models list 输出
},
},
],
},
}{
agents: {
defaults: {
model: { primary: "openai/gpt-5.4" },
models: {
"anthropic/claude-sonnet-4-6": {
params: { context1m: true },
},
"<provider/low-latency-model>": {
alias: "fast-review",
streaming: true,
params: { reasoningEffort: "low" },
},
},
},
},
}openclaw models status
openclaw models status --probe