pipeline-error-anthropic-llm-failed
# support
f
Hello, I am experiencing difficulties when using Anthropic models in my voice assistant. Error: An error occurred during this call: pipeline-error-anthropic-llm-failed Log: [WARN] Model request failed (attempt #2, reason: (messages.4: Did not find 1 tool_result block(s) at the beginning of this message. Messages following tool_use blocks must begin with a matching number of tool_result blocks.)) Problem context: From the start, I've been developing my AI assistant using the claude-3-5-sonnet-20240620 model, integrated with some custom tools that I created using Make, and with a knowledge base consisting of files that I uploaded directly through the web platform. With the discontinuation of the file assignment feature, I had to set up a knowledge base using Trieve. Since then, whenever the assistant tries to activate any of my configured tools, the reported error occurs. This does not happen when I either remove the knowledge base link or the tool integrations. The response format for my Make tools follows the documentation model, for example: { "results": [ { "toolCallId":"{{1.message.toolCalls[].id}}", "result":"Contact {{6.id}} already exists with [...]" } ] } I’ve also tested with other Anthropic models, but the error persists. Everything works fine with OpenAI models, but I would prefer to continue using the claude-3-5-sonnet-20240620 model in my assistant since it performed better in my tests. This, however, is without losing the ability to activate my tools or maintain the knowledge base link. Example of a call where the error occurred: 7f2e0881-48ae-4fef-b44a-f1b9d753e61f Could you help me resolve this issue? Thank you.
@User
c
Error: 🔵 18:50:54:947 Couldn't Complete Model Sequence. Request Failed And Sequence Empty (provider: anthropic, model: claude-3-5-sonnet-20240620, region: undefined, credential: false) (messages.4: Did not find 1
tool_result
block(s) at the beginning of this message. Messages following
tool_use
blocks must begin with a matching number of
tool_result
blocks.)
Can you fix it?
f
I really don't understand what needs to be done to solve this problem. I'm a beginner on the platform, I would like more detailed guidance if possible.
c
Hey would it be possibile for you to use gpt-4o?
It will resolve the issue asap.
7 Views