SIGN IN SIGN UP
crewAIInc / crewAI UNCLAIMED

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

0 0 39 Python

fix: preserve Bedrock tool call arguments by removing truthy default

func_info.get('arguments', '{}') returns '{}' (truthy) when no
'function' wrapper exists (Bedrock format), causing the or-fallback
to tool_call.get('input', {}) to never execute. The actual Bedrock
arguments are silently discarded.

Remove the default so get('arguments') returns None (falsy) when
there's no function wrapper, allowing the or-chain to correctly
fall through to Bedrock's 'input' field.

Fixes #5275
Y
Yanhu committed
25fcf39cc1030b841dc5b8c3f855a7784c5fa8e4
Parent: 3b280e4
Committed by GitHub <noreply@github.com> on 4/12/2026, 7:50:56 AM