langchaingo icon indicating copy to clipboard operation
langchaingo copied to clipboard

Anthropic streaming functions can't handle tool use blocks

Open lonelycode opened this issue 1 year ago • 3 comments

The anthropic streaming processing does not handle the set of blocks that send tool use and input data, and the handler fails if it tries.

lonelycode avatar Sep 22 '24 23:09 lonelycode

I would open a PR, but I have merged all my fixes into my main branch :-/

lonelycode avatar Sep 22 '24 23:09 lonelycode

You can still create a branch from your local main and use that to create a PR :)

corani avatar Sep 23 '24 02:09 corani

I picked up the work from @lonelycode and made an PR out of this: https://github.com/tmc/langchaingo/pull/1193

rainu avatar Mar 23 '25 13:03 rainu