Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix(core): add default value for OllamaProvider.default_prompt_formatter (#8911)
Charles Packer64728341305b
diff --git a/letta/schemas/providers/ollama.py b/letta/schemas/providers/ollama.pyindex 356ed7b74..0e07ef632 100644--- a/letta/schemas/providers/ollama.py+++ b/letta/schemas/providers/ollama.py@@ -24,7 +24,8 @@ class OllamaProvider(OpenAIProvider):base_url: str = Field(..., description="Base URL for the Ollama API.")api_key: str | None = Field(None, description="API key for the Ollama API (default: `None`).")default_prompt_formatter: str = Field(- ..., description="Default prompt formatter (aka model wrapper) to use on a /completions style API."+ default="chatml",+ description="Default prompt formatter (aka model wrapper) to use on a /completions style API.",)@property