Files
crewAI/lib
Devin AI e9b3fded3a Fix AIMindTool import error with minds_sdk 2.0.0
- Remove import of DatabaseConfig which no longer exists in minds_sdk 2.0.0
- Update code to use new minds_sdk API structure
- Create datasources directly via minds_client.datasources.create()
- Pass datasource names (strings) instead of DatabaseConfig objects to minds.create()
- Handle missing optional fields (description, connection_data) with defaults
- Add comprehensive tests to cover the import issue and prevent regression

Fixes #3885

Co-Authored-By: João <joao@crewai.com>
2025-11-11 08:25:07 +00:00
..