on main help sign in
chore: remove cache from prefix
926f30dKujtim Hoxha
internal/llm/provider/anthropic.go−3
@@ -253,9 +253,6 @@ func (a *anthropicClient) preparedMessages(messages []anthropic.MessageParam, to
253 if a.providerOptions.systemPromptPrefix != "" {
253 if a.providerOptions.systemPromptPrefix != "" {
254 systemBlocks = append(systemBlocks, anthropic.TextBlockParam{
254 systemBlocks = append(systemBlocks, anthropic.TextBlockParam{
255 Text: a.providerOptions.systemPromptPrefix,
255 Text: a.providerOptions.systemPromptPrefix,
256− CacheControl: anthropic.CacheControlEphemeralParam{
257− Type: "ephemeral",
258− },
259 })
256 })
260 }
257 }
261
258