Merge branch 'main' into dev

This commit is contained in:
Boris 2025-09-16 22:44:18 +02:00 committed by GitHub
commit 2ed92d21fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: