Files
crewAI/lib
Devin AI c0c1920270 fix: prevent Bedrock tool call arguments from being silently dropped
When using AWS Bedrock LLMs, tool arguments were silently discarded
because func_info.get('arguments', '{}') returned the truthy default
'{}' string, preventing the 'or' fallback to tool_call.get('input')
which contains the actual Bedrock arguments.

Changed the default from '{}' to None (by omitting it) so that when
no 'function' wrapper is present (Bedrock format), the or-chain
correctly falls through to read tool_call['input'].

Fixes #5275

Co-Authored-By: João <joao@crewai.com>
2026-04-05 00:09:43 +00:00
..