Skip to content

Anthropic CacheControl not working properly #1456

@yancui001

Description

@yancui001

https://github.com/tmc/langchaingo/blob/main/llms/anthropic/anthropicllm.go

  • The System message is not applying cache control
  • For Human message, the cache control TTL (duration) is not applied

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions