feat: LLM output validation + structured JSON retry for tip generation #90
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
LLMs return malformed JSON, too-short tips, or wrong kinds. Add a validation + retry layer so the generator is robust in production.
Behaviour
TipCandidatesource=fallback— usetask_directcandidates from the task listtip_scoreswithsource=llm_failed,model, error messageValidation rules
contentnon-empty string (≥20 chars),kindone of the valid enum valuesMetrics
llm_parse_failure_rateper model in/admin/healthNotes