fix: change all agent YAML model from hardcoded provider to 'default'
Hardcoded model names like 'openai/gpt-4o-mini' or 'anthropic/claude-sonnet' cause 'No provider available' errors when the specific provider isn't configured. Using 'default' lets the system pick the available provider automatically.
This commit is contained in:
parent
d47f279887
commit
93bc7c4e3e
|
|
@ -24,7 +24,7 @@ prompt:
|
||||||
instructions: "根据用户需求,直接给出简洁准确的回答。"
|
instructions: "根据用户需求,直接给出简洁准确的回答。"
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
model: "openai/gpt-4o-mini"
|
model: "default"
|
||||||
temperature: 0.3
|
temperature: 0.3
|
||||||
max_tokens: 1024
|
max_tokens: 1024
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ prompt:
|
||||||
instructions: "根据用户需求,制定详细的执行计划,逐步执行每个步骤,必要时调整计划。"
|
instructions: "根据用户需求,制定详细的执行计划,逐步执行每个步骤,必要时调整计划。"
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
model: "anthropic/claude-opus-4-20250514"
|
model: "default"
|
||||||
temperature: 0.0
|
temperature: 0.0
|
||||||
max_tokens: 8192
|
max_tokens: 8192
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ prompt:
|
||||||
instructions: "根据用户需求,动态选择合适的工具和策略完成任务。每一步都要观察中间结果并调整策略。"
|
instructions: "根据用户需求,动态选择合适的工具和策略完成任务。每一步都要观察中间结果并调整策略。"
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
model: "anthropic/claude-sonnet-4-20250514"
|
model: "default"
|
||||||
temperature: 0.1
|
temperature: 0.1
|
||||||
max_tokens: 4096
|
max_tokens: 4096
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ prompt:
|
||||||
instructions: "根据用户需求完成任务,完成后自我评估输出质量,如不达标则反思改进并重试。"
|
instructions: "根据用户需求完成任务,完成后自我评估输出质量,如不达标则反思改进并重试。"
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
model: "anthropic/claude-sonnet-4-20250514"
|
model: "default"
|
||||||
temperature: 0.0
|
temperature: 0.0
|
||||||
max_tokens: 4096
|
max_tokens: 4096
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ prompt:
|
||||||
instructions: "根据用户需求,规划所有需要的数据采集步骤,然后批量执行。"
|
instructions: "根据用户需求,规划所有需要的数据采集步骤,然后批量执行。"
|
||||||
|
|
||||||
llm:
|
llm:
|
||||||
model: "anthropic/claude-sonnet-4-20250514"
|
model: "default"
|
||||||
temperature: 0.1
|
temperature: 0.1
|
||||||
max_tokens: 4096
|
max_tokens: 4096
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue