Skip to content

2.2.1: restore schema key order in JSON output - #25

Merged
EnragedAntelope merged 1 commit into
mainfrom
v2.2.1-json-key-order
Oct 24, 2026
Merged

EnragedAntelope merged 1 commit into
mainfrom
v2.2.1-json-key-order

Conversation

@EnragedAntelope

Copy link
Copy Markdown
Owner
  • Reorder structured JSON responses into the schema's property order (the lmstudio SDK sorts schema keys, so models generate them alphabetically)
  • Keep the model's layout when reordering (one line stays one line)
  • Check structured JSON after the reasoning split, so thinking models no longer get a false "did not parse as JSON" warning
  • Show the "JSON (no schema)" hint only in no-schema mode
  • Warn when a model produced reasoning but no answer
  • Explain '@?' ids as companion MTP/draft files instead of a problem
  • Tooltips and README: key-order note, draft off uses LM Studio's own draft/MTP setting
  • AGENTS.md: state, SDK key-sort and '@?' gotchas, SDK-vs-REST recheck note
  • Tests for reorder and post-split JSON check
  • Version 2.2.1

- Reorder structured JSON responses into the schema's property order (the lmstudio SDK sorts schema keys, so models generate them alphabetically)
- Keep the model's layout when reordering (one line stays one line)
- Check structured JSON after the reasoning split, so thinking models no longer get a false "did not parse as JSON" warning
- Show the "JSON (no schema)" hint only in no-schema mode
- Warn when a model produced reasoning but no answer
- Explain '@?' ids as companion MTP/draft files instead of a problem
- Tooltips and README: key-order note, draft off uses LM Studio's own draft/MTP setting
- AGENTS.md: state, SDK key-sort and '@?' gotchas, SDK-vs-REST recheck note
- Tests for reorder and post-split JSON check
- Version 2.2.1
@EnragedAntelope
EnragedAntelope merged commit 5957c0e into main Oct 24, 2026
2 checks passed
@EnragedAntelope
EnragedAntelope deleted the v2.2.1-json-key-order branch October 24, 2026 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant