LangGraphThreadsConfig
Configuration consumed by LangGraphThreadsAdapter. Provide via LANGGRAPH_THREADS_CONFIG (typically in app.config.ts):
providers: [
{ provide: LANGGRAPH_THREADS_CONFIG, useValue: {
apiUrl: environment.langGraphApiUrl,
}},
],The adapter expects backends to write the thread title to
metadata.title. Spec 2026-05-19-llm-generated-labels-design.md
originally proposed metadata.thread_title for cockpit caps but
we converged on title to match the canonical demo and avoid a
per-cap configuration knob.
import type { LangGraphThreadsConfig } from '@threadplane/langgraph';Declaration
export interface LangGraphThreadsConfig {
apiUrl: string;
titleFallback?: string;
}Members
apiUrl
Base URL for the LangGraph Platform API. Accepts both absolute
URLs and relative /api-style paths.
apiUrl: string;titleFallback
Fallback label for threads whose title hasn't been written yet
(e.g. created but never sent). Defaults to 'Untitled'.
titleFallback?: string;