Files
crewAI/lib/crewai/tests
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
..
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2025-10-20 14:10:19 -07:00
2026-03-24 19:03:35 +08:00
2026-02-13 21:34:37 -03:00
2025-12-04 13:34:29 -08:00
2025-10-20 14:10:19 -07:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00