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.

add ollama

Matt Zhoue20c4270e4e7
diff --git a/letta/schemas/llm_config.py b/letta/schemas/llm_config.py
index b5ec436fd..dd71cbd76 100644
--- a/letta/schemas/llm_config.py
+++ b/letta/schemas/llm_config.py
@@ -17,7 +17,7 @@ class LLMConfig(BaseModel):
# TODO: 🤮 don't default to a vendor! bug city!
model: str = Field(..., description="LLM model name. ")
- model_endpoint_type: Literal["openai", "anthropic", "cohere", "google_ai", "azure", "groq"] = Field(
+ model_endpoint_type: Literal["openai", "anthropic", "cohere", "google_ai", "azure", "groq", "ollama"] = Field(
..., description="The endpoint type for the model."
)
model_endpoint: str = Field(..., description="The endpoint for the model.")