SmartManoj / Kevin

⚡ Kevin: Code Quick, Create Fast
MIT License
7 stars 0 forks source link

[Bug]: BedrockException: "The number of toolResult blocks at messages.2.content exceeds the number of toolUse blocks of previous turn.". #90

Open kevin-support-bot[bot] opened 3 weeks ago

kevin-support-bot[bot] commented 3 weeks ago

https://github.com/All-Hands-AI/OpenHands/issues/4912 Issue


@scosenza The tool_calls is missing in the messages[2] in the 2nd request. Could you manually add it and check if it works?


FYI, you can disable function_calling using AGENT_FUNCTION_CALLING=false env