Dev.to#tech
Put a JSON Contract in Front of a Free Model Route Before Your CI Ever Calls Ittranslating…
Factuality: 64/100USAForem (DEV Community)
07:42. The GitLab job fails at risk not found. I open the raw log. The model returned { "output": "low" }. My parser expected { "summary": "...", "risk": "low" }.
No code changed. No pipeline change. The model endpoint changed.
A free model route is cheap. It is also an…