Skip to content

Fix cross-process model cache reuse - #114

Merged
AndersonBY merged 1 commit into
mainfrom
fix/stable-model-cache
Oct 3, 2026
Merged

AndersonBY merged 1 commit into
mainfrom
fix/stable-model-cache

Conversation

@AndersonBY

Copy link
Copy Markdown
Owner

The SDK represents input/output modalities as sets. Their JSON list order varied between Python processes, so identical CLI runs could miss cached model results. Canonicalize those lists and look up the bounded legacy order variants to preserve existing paid results.

Also expose nested JSON Schema failure locations to bounded repair prompts without printing rejected values. Regression tests verify stable keys, legacy reads and unchanged caller data; the workflow tests, lint and changed-file type checks pass. Prepare patch version 0.4.19.

@AndersonBY
AndersonBY merged commit d002d41 into main Oct 3, 2026
2 checks passed
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