Files
crewAI/lib
Devin AI bff933917b fix: resolve empty tool input params for Bedrock tool calls (#4470)
When Bedrock returns tool calls as dicts with 'name' and 'input' keys
(no 'function' key), the fallback default '{}' string in
func_info.get('arguments', '{}') was truthy, causing the 'or' to
short-circuit and never reach tool_call.get('input', {}). This resulted
in empty arguments being passed to tools.

Changed to func_info.get('arguments') or tool_call.get('input') or {}
to match the pattern already used in extract_tool_call_info().

Co-Authored-By: João <joao@crewai.com>
2026-02-13 04:01:28 +00:00
..