Files
crewAI/lib/crewai/tests/agents
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
..
2026-02-05 12:49:54 -05:00
2025-10-20 14:10:19 -07:00