@@ -67,8 +67,8 @@ func createAnthropicClient(opts providerClientOptions, useBedrock bool) anthropi
6767 if useBedrock {
6868 anthropicClientOptions = append(anthropicClientOptions, bedrock.WithLoadDefaultConfig(context.Background()))
6969 }
70− for _, header := range opts.extraHeaders {
71− anthropicClientOptions = append(anthropicClientOptions, option.WithHeaderAdd(header, opts.extraHeaders[header]))
70+ for key, header := range opts.extraHeaders {
71+ anthropicClientOptions = append(anthropicClientOptions, option.WithHeaderAdd(key, header))
7272 }
7373 for key, value := range opts.extraBody {
7474 anthropicClientOptions = append(anthropicClientOptions, option.WithJSONSet(key, value))
@@ -223,6 +223,7 @@ func (a *anthropicClient) preparedMessages(messages []anthropic.MessageParam, to
223223 }
224224
225225 systemBlocks := []anthropic.TextBlockParam{}
226+ slog.Info("Testing", "prefix", a.providerOptions.systemPromptPrefix)
226227
227228 // Add custom system prompt prefix if configured
228229 if a.providerOptions.systemPromptPrefix != "" {