diff --git a/api/routes/reviewiq_analytics.py b/api/routes/reviewiq_analytics.py index d65923c..f6a3841 100644 --- a/api/routes/reviewiq_analytics.py +++ b/api/routes/reviewiq_analytics.py @@ -373,7 +373,8 @@ class SynthesisResponse(BaseModel): # The Strengths (can be v1 or v2 format depending on report_version) # V1: list[ReportStrengthResponse], V2: list[StrengthToProtect dict] - strengths: list[ReportStrengthResponse] | list[dict] = Field(default_factory=list, description="Key strengths to protect") + # Using list[Any] to prevent Pydantic from coercing/dropping fields + strengths: list[Any] = Field(default_factory=list, description="Key strengths to protect") # Momentum momentum: str = Field("stable", description="improving/declining/stable")