Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

Use correct URL for Ollama embeddings

Anton Devson82686e731af1
diff --git a/letta/embeddings.py b/letta/embeddings.py
index dffcd5716..0da697f4e 100644
--- a/letta/embeddings.py
+++ b/letta/embeddings.py
@@ -159,7 +159,7 @@ class OllamaEmbeddings:
with httpx.Client() as client:
response = client.post(
- f"{self.base_url}/api/embeddings",
+ f"{self.base_url}/embeddings",
headers=headers,
json=json_data,
)