Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1456·langchaingo

Anthropic CacheControl not working properly

Author: yancui001Created Jan 5, 2026Updated Mar 31, 2026

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

Source: tmc/langchaingo

View original on GitHubView discussion on GitHub