You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenTelemetry traces record AIClientError: Response validation failed for model 'gemma4:26b' when local open-weight models emit slightly malformed JSON, markdown fences, or unexpected schema keys during structured generation.
Proposed Changes
Implement an automated JSON schema repair pipeline in devops_cli.ai.client utilizing json_repair.
Support schema coercion and bounded exponential retry with dynamic error reflection prompting.
Fallback gracefully when model output cannot be recovered.
Acceptance Criteria
Successfully recover >90% of malformed structured model outputs without human intervention.
Maximum 2 retry attempts before raising typed AIClientError.
Comprehensive unit tests in tests/test_ai_client.py.
Activity
feat(ai): llm structured output retry and json schema repair engine (#…
fix(ci): remove redundant pr merge readiness gate and remediate revie…
feat(ai): llm structured output retry and json schema repair engine (#…
feat(release): v0.2.19 (#217)