@@ -79,6 +79,10 @@ func createAnthropicClient(opts providerClientOptions, tp AnthropicClientType) a
79 slog.Debug("Skipping X-Api-Key header because Authorization header is provided")
79 slog.Debug("Skipping X-Api-Key header because Authorization header is provided")
82+ if opts.baseURL != "" {
83+ anthropicClientOptions = append(anthropicClientOptions, option.WithBaseURL(opts.baseURL))
82 if config.Get().Options.Debug {
86 if config.Get().Options.Debug {
83 httpClient := log.NewHTTPClient()
87 httpClient := log.NewHTTPClient()
84 anthropicClientOptions = append(anthropicClientOptions, option.WithHTTPClient(httpClient))
88 anthropicClientOptions = append(anthropicClientOptions, option.WithHTTPClient(httpClient))