Files
crewAI/lib/crewai/tests/utilities/test_agent_utils.py
Lucas Gomide e6c11a539f fix: preserve null types in tool parameter schemas for LLM
Tool parameter schemas were stripping null from optional fields via
generate_model_description, forcing the LLM to provide non-null values
for fields.
Adds strip_null_types parameter to generate_model_description and passes False when generating tool
schemas, so optional fields keep anyOf: [{type: T}, {type: null}]
2026-02-24 10:06:44 -03:00

37 KiB