verbose live UI + tool-level SSE events + Groq default + regression tests

This commit is contained in:
2026-06-03 05:04:29 -03:00
parent 131f4d9b86
commit e124a8a7d9
69 changed files with 3030 additions and 137 deletions

17
api/analyses/types.py Normal file
View File

@@ -0,0 +1,17 @@
"""Public data shapes for the Analyses layer."""
from __future__ import annotations
from dataclasses import dataclass, field
from typing import Any
@dataclass
class Finding:
"""Structured output every Analysis returns."""
analysis: str
summary: str
rows: list[dict[str, Any]] = field(default_factory=list)
sql: list[str] = field(default_factory=list)
error: str | None = None
metadata: dict[str, Any] = field(default_factory=dict)