Files
crewAI/lib
Devin AI a94fb27d54 fix: remove deprecated InitFrom import from qdrant-client
The InitFrom class has been removed from qdrant-client in newer versions
(1.16.2+), causing ImportError when importing crewai.rag.qdrant modules.

This commit:
- Removes InitFrom import from qdrant_client.models
- Removes init_from field from CommonCreateFields TypedDict
- Removes init_from handling from _get_collection_params function
- Updates docstrings to remove init_from parameter references
- Adds tests to verify the import works correctly

Fixes #4305

Co-Authored-By: João <joao@crewai.com>
2026-01-29 15:22:41 +00:00
..