Devin AI
911fb30ef0
fix: reject non-dict values in process_config with clear ValidationError
...
Fixes #4419 . When an invalid type (e.g. a string) was passed for a field
that expects a Pydantic model like BaseAgent, the process_config function
would crash with AttributeError: 'str' object has no attribute 'get'.
Now process_config raises ValueError for non-dict inputs, which Pydantic
wraps into a proper ValidationError with a clear message like:
'BaseAgent expected a mapping/dictionary, got str'
Co-Authored-By: João <joao@crewai.com >
2026-02-08 22:15:25 +00:00
..
2026-01-30 17:10:00 -05:00
2026-02-06 14:02:43 -05:00
2026-02-06 14:02:43 -05:00
2026-02-06 16:29:27 -05:00
2025-10-20 14:10:19 -07:00
2025-12-04 16:53:19 -05:00
2026-02-04 20:34:08 -03:00
2025-12-05 13:23:26 -05:00
2026-01-27 14:56:50 -08:00
2025-12-04 10:27:52 -08:00
2026-02-03 16:30:43 -08:00
2025-11-26 21:37:55 -08:00
2026-02-05 21:28:23 -05:00
2025-11-29 16:55:24 -05:00
2025-11-05 07:19:09 -05:00
2026-01-26 14:55:03 -08:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-12-04 13:34:29 -08:00
2025-12-05 13:23:26 -05:00
2026-02-04 20:34:08 -03:00
2025-11-29 16:55:24 -05:00
2026-02-03 10:10:33 -03:00
2025-10-20 14:10:19 -07:00
2026-01-23 15:13:25 -05:00
2025-12-25 21:04:10 -03:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2026-02-02 11:24:02 -05:00
2025-12-01 18:56:56 -05:00
2025-10-20 14:10:19 -07:00
2026-02-04 15:40:22 -05:00
2026-01-23 15:13:25 -05:00
2026-01-20 21:44:45 -08:00
2025-10-20 14:10:19 -07:00
2025-11-24 17:35:12 -05:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2025-12-25 21:04:10 -03:00
2026-02-06 16:29:27 -05:00
2025-10-20 14:10:19 -07:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-11-29 16:55:24 -05:00
2025-11-29 16:55:24 -05:00
2026-02-03 10:10:33 -03:00
2026-02-03 09:06:48 -05:00
2026-02-08 22:15:25 +00:00
2025-10-20 14:10:19 -07:00