Dashboard Reference¶
models ¶
Dashboard models shared by the Streamlit app and service layer.
DashboardActivityEvent ¶
Bases: BaseModel
A normalized live workflow event shown in the dashboard activity panel.
DashboardCitation ¶
Bases: BaseModel
Normalized citation rendered by the dashboard.
DashboardRunRequest ¶
Bases: BaseModel
Input payload for one dashboard workflow run.
DashboardRunResult ¶
DashboardThreadRecord ¶
DashboardTurnRecord ¶
Bases: BaseModel
One persisted dashboard turn stored in Streamlit session state.
presentation ¶
Presentation helpers for the Streamlit dashboard.
service ¶
Dashboard service that drives live workflow runs and persistent dashboard state.
DashboardPersistenceError ¶
Bases: RuntimeError
Raised when Postgres-backed dashboard persistence is unavailable.
DashboardService ¶
Run the repository workflows behind a dashboard-friendly interface.
default_model_for_workflow ¶
Return the configured default model for a workflow.
list_persistent_threads
async
¶
Return dashboard thread metadata stored in Postgres for one workflow.
load_persistent_history
async
¶
Return the stored dashboard turn history for one thread.
load_persistent_run_state
async
¶
Load the latest persisted LangGraph state for one workflow thread.
save_persistent_thread
async
¶
Persist a thread record and its turn history to Postgres.