diff --git a/cognee/infrastructure/databases/vector/embeddings/OllamaEmbeddingEngine.py b/cognee/infrastructure/databases/vector/embeddings/OllamaEmbeddingEngine.py index 3ecc7dbe8..cf56dba1f 100644 --- a/cognee/infrastructure/databases/vector/embeddings/OllamaEmbeddingEngine.py +++ b/cognee/infrastructure/databases/vector/embeddings/OllamaEmbeddingEngine.py @@ -95,6 +95,7 @@ class OllamaEmbeddingEngine(EmbeddingEngine): Internal method to call the Ollama embeddings endpoint for a single prompt. """ payload = {"model": self.model, "prompt": prompt, "input": prompt} + headers = {} api_key = os.getenv("LLM_API_KEY") if api_key: