diff options
Diffstat (limited to 'internal/appconfig/config.go')
| -rw-r--r-- | internal/appconfig/config.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/appconfig/config.go b/internal/appconfig/config.go index b17c5d4..c9af85e 100644 --- a/internal/appconfig/config.go +++ b/internal/appconfig/config.go @@ -1112,6 +1112,15 @@ func (a *App) mergeProviderFields(other *App) { if other.CopilotTemperature != nil { // allow explicit 0.0 a.CopilotTemperature = other.CopilotTemperature } + if s := strings.TrimSpace(other.AnthropicBaseURL); s != "" { + a.AnthropicBaseURL = s + } + if s := strings.TrimSpace(other.AnthropicModel); s != "" { + a.AnthropicModel = s + } + if other.AnthropicTemperature != nil { // allow explicit 0.0 + a.AnthropicTemperature = other.AnthropicTemperature + } } func getConfigPath() (string, error) { |
