From 2368efd0279f4dcb0d7f5fe4a1fc802c2834d849 Mon Sep 17 00:00:00 2001 From: Kian Jones <11655409+kianjones9@users.noreply.github.com> Date: Thu, 15 Jan 2026 17:31:47 -0800 Subject: [PATCH] fix: add missing use_clickhouse_for_provider_traces setting (#8799) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR #8682 added code that references settings.use_clickhouse_for_provider_traces but never added the field to Settings, causing AttributeError in prod. 🤖 Generated with [Letta Code](https://letta.com) Co-authored-by: Letta --- letta/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/letta/settings.py b/letta/settings.py index b769f1e2..b7d3d65f 100644 --- a/letta/settings.py +++ b/letta/settings.py @@ -292,6 +292,7 @@ class Settings(BaseSettings): track_stop_reason: bool = Field(default=True, description="Enable tracking stop reason on steps.") track_agent_run: bool = Field(default=True, description="Enable tracking agent run with cancellation support") track_provider_trace: bool = Field(default=True, description="Enable tracking raw llm request and response at each step") + use_clickhouse_for_provider_traces: bool = Field(default=False, description="Use ClickHouse backend for provider traces instead of Postgres") # FastAPI Application Settings uvicorn_workers: int = 1