refactor: split pilot architecture
Remove the obsolete dashboard now that Langfuse is the analytics surface.\nIntroduce focused transport, model, and configuration modules while preserving the ai_review facade, and document the current runtime architecture.
This commit is contained in:
@@ -163,7 +163,7 @@ def _md_escape(s: str) -> str:
|
||||
def analyze(db_path: str, *, since_ts: Optional[int] = None,
|
||||
as_json: bool = False) -> str:
|
||||
"""Build the daily report. Returns a markdown string by default;
|
||||
`as_json=True` returns a structured dict (for tests + dashboards)."""
|
||||
`as_json=True` returns a structured dict (for tests + automation)."""
|
||||
conn = feedback.init(db_path)
|
||||
try:
|
||||
findings = list(feedback.findings_with_votes(conn, since_ts=since_ts))
|
||||
@@ -416,4 +416,4 @@ def main() -> int:
|
||||
|
||||
if __name__ == "__main__":
|
||||
import sys
|
||||
raise SystemExit(main())
|
||||
raise SystemExit(main())
|
||||
|
||||
Reference in New Issue
Block a user