Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix:ollama text embedding 500 error (#8252)
HowardChan53f37a67049a
diff --git a/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.py b/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.pyindex ffa9ea2f907..2cfb79b2412 100644--- a/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.py+++ b/api/core/model_runtime/model_providers/ollama/text_embedding/text_embedding.py@@ -77,7 +77,7 @@ class OllamaEmbeddingModel(TextEmbeddingModel):inputs.append(text)# Prepare the payload for the request- payload = {"input": inputs, "model": model, "options": {"use_mmap": "true"}}+ payload = {"input": inputs, "model": model, "options": {"use_mmap": True}}# Make the request to the Ollama APIresponse = requests.post(endpoint_url, headers=headers, data=json.dumps(payload), timeout=(10, 300))