mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 16:22:49 +00:00
@@ -1,5 +1,5 @@
|
|||||||
import os
|
|
||||||
import logging
|
import logging
|
||||||
|
import os
|
||||||
from typing import Any, Dict, Optional, cast
|
from typing import Any, Dict, Optional, cast
|
||||||
|
|
||||||
# Import chromadb conditionally to handle SQLite3 version errors
|
# Import chromadb conditionally to handle SQLite3 version errors
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import unittest
|
import unittest
|
||||||
from unittest.mock import patch, MagicMock
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
|
|
||||||
class TestEmbeddingConfigurator(unittest.TestCase):
|
class TestEmbeddingConfigurator(unittest.TestCase):
|
||||||
@patch('crewai.utilities.embedding_configurator.CHROMADB_AVAILABLE', False)
|
@patch('crewai.utilities.embedding_configurator.CHROMADB_AVAILABLE', False)
|
||||||
|
|||||||
Reference in New Issue
Block a user