Solving the Claude 3.5 Sonnet hallucinations in a FastAPI project
A developer spent four hours debugging a Pydantic ValidationError in a FastAPI project after Claude 3.5 Sonnet repeatedly insisted the schema was correct, only to find the AI had ignored a strict=True setting in the proj…