-
Notifications
You must be signed in to change notification settings - Fork 510
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
When using the Anthropic Agent with streaming: true, you get the error: "Anthropic does not support streaming . If you remove the code block
LlamaIndexTS/packages/llamaindex/src/agent/anthropic.ts
Lines 37 to 40 in 45bcf51
| if (stream) { | |
| // Anthropic does support this, but looks like it's not supported in the LITS LLM | |
| throw new Error("Anthropic does not support streaming"); | |
| } |
Anthropic does support streaming with tools and it would be great to get it integrated https://docs.anthropic.com/en/api/messages-streaming#streaming-request-with-tool-use
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed