Files
crewAI/lib
Devin AI 1086d5d70d fix: rename loop variable to avoid shadowing provider parameter in create_crew()
Fixes #5270. The for-loop iterating over ENV_VARS used 'provider' as its
loop variable, which shadowed the 'provider' function parameter. Renamed
the loop variable to 'env_provider' so the original parameter value is
preserved throughout the function.

Added three regression tests to verify the fix.

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