mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 15:52:34 +00:00
refactor: improve multimodal file handling architecture
- Make crewai_files an optional dependency with graceful fallbacks - Move file formatting from executor to LLM layer (_process_message_files) - Add files field to LLMMessage type for cleaner message passing - Add cache_control to Anthropic content blocks for prompt caching - Clean up formatters: static methods for OpenAI/Gemini, proper error handling - Remove unused ContentFormatter protocol - Move test fixtures to lib/crewai-files/tests/fixtures - Add Azure and Bedrock multimodal integration tests - Fix mypy errors in crew_agent_executor.py
This commit is contained in:
@@ -13,7 +13,7 @@ from crewai.utilities.file_store import (
|
||||
store_files,
|
||||
store_task_files,
|
||||
)
|
||||
from crewai.files import TextFile
|
||||
from crewai_files import TextFile
|
||||
|
||||
|
||||
class TestFileStore:
|
||||
|
||||
Reference in New Issue
Block a user