@@ -80,7 +80,10 @@ func createAnthropicClient(opts providerClientOptions, tp AnthropicClientType) a
82 if opts.baseURL != "" {
82 if opts.baseURL != "" {
83+ resolvedBaseURL, err := config.Get().Resolve(opts.baseURL)
83− anthropicClientOptions = append(anthropicClientOptions, option.WithBaseURL(opts.baseURL))
85+ anthropicClientOptions = append(anthropicClientOptions, option.WithBaseURL(resolvedBaseURL))
86 if config.Get().Options.Debug {
89 if config.Get().Options.Debug {