# NousResearch/hermes-agent · Retry logic for rejected structured output response_format

## Open now

- Nothing open on GitHub.

These issues and PRs address cases where providers reject the object-form response_format.json_schema (via 400 or 422 errors) and the detection or retry logic fails to handle those rejections correctly. The work focuses on improving fallback behavior so requests are retried without structured output when a provider rejects it by shape or status code.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #113966. Verify it addresses your case.
- **Recommended:** read PR #113966 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-111439`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #110631: _is_structured_output_rejection misses gateways that reject the object-form response_format.json_schema by shape (422)

## Prior & competing PRs

- **#111439: fix(auxiliary): 422 shape rejections of response_format.json_schema now retry without structured output (#110631, salvage #110633)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_structured_output_rejection_retry.py`
- **#113966: fix(aux): structured-output 400s no longer kill fallback candidates or cost a doomed first request on DeepSeek (#83390, #105191, salvage #92908)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `agent/auxiliary_structured_output.py`, `plugins/model-providers/deepseek/__init__.py`, `providers/base.py`, `tests/agent/conftest.py`, `tests/agent/test_auxiliary_structured_output.py`, `website/docs/developer-guide/model-provider-plugin.md`
- **#110633: fix(auxiliary): retry without response_format when a provider rejects the object-form json_schema by shape**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `5cc81773b2b`, `#113966`

## Fix status

- Merged to main in PR #113966 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-17`.
