config validation
This commit is contained in:
parent
9ae6af8856
commit
a8d5787e8e
11 changed files with 911 additions and 17 deletions
|
|
@ -471,7 +471,7 @@ func createAgentProvider(agentName config.AgentName) (provider.Provider, error)
|
|||
provider.WithReasoningEffort(agentConfig.ReasoningEffort),
|
||||
),
|
||||
)
|
||||
} else if model.Provider == models.ProviderAnthropic && model.CanReason {
|
||||
} else if model.Provider == models.ProviderAnthropic && model.CanReason && agentName == config.AgentCoder {
|
||||
opts = append(
|
||||
opts,
|
||||
provider.WithAnthropicOptions(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue