langchaingo
langchaingo copied to clipboard
anthropic driver doesn't handle multi-part tool results
Specifically on this line it only encodes the first part. The LLM is smart enough to make a second request, but it's wasteful.