config validation

This commit is contained in:
Kujtim Hoxha
2025-04-21 14:29:03 +02:00
parent 0094dd728c
commit 94271b528f
11 changed files with 911 additions and 17 deletions
+1 -1
View File
@@ -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(