@@ -81,7 +81,7 @@ func createAnthropicClient(opts providerClientOptions, tp AnthropicClientType) a
82 if opts.baseURL != "" {
82 if opts.baseURL != "" {
83 resolvedBaseURL, err := config.Get().Resolve(opts.baseURL)
83 resolvedBaseURL, err := config.Get().Resolve(opts.baseURL)
84− if err == nil {
84+ if err == nil && resolvedBaseURL != "" {
85 anthropicClientOptions = append(anthropicClientOptions, option.WithBaseURL(resolvedBaseURL))
85 anthropicClientOptions = append(anthropicClientOptions, option.WithBaseURL(resolvedBaseURL))