-
-
Notifications
You must be signed in to change notification settings - Fork 312
fix(openai-base): preserve tuple schema items #1210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mikemikimike
wants to merge
25
commits into
TanStack:main
Choose a base branch
from
mikemikimike:fix/openai-tuple-schema-coercion-v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+338
β342
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
79eed91
chore: add tuple schema changeset
mikemikimike 5956ba2
fix(openai-base): preserve tuple schema items
mikemikimike bc95af4
test(openai-base): cover tuple schema coercion
mikemikimike 738a7dc
fix(openai-base): handle nested tuple items
mikemikimike bc22c0c
test(openai-base): cover nested tuples and prefix items
mikemikimike ff3affa
refactor(openai-base): unify array schema recursion
mikemikimike cbe3764
fix(openai-base): preserve tuple coercion metadata
mikemikimike fb89703
fix: format changeset frontmatter
mikemikimike f4d96b2
test(openai-base): preserve tuple widening metadata
mikemikimike 36d32a3
fix(ai-utils): support prefix item widening maps
mikemikimike 1e05eee
fix(openai-base): preserve boolean and separate tuple maps
mikemikimike f351ff8
test(openai-base): cover boolean and mixed tuple schemas
mikemikimike 2b06893
fix(ai-utils): use valid type declaration newlines
mikemikimike eb29086
fix(ai-utils): replace literal newline token
mikemikimike 3553b04
fix(ai): preserve all tuple producer metadata
mikemikimike b73c2d0
chore: include affected packages in changeset
mikemikimike 58bb454
fix: preserve tuple metadata through schema conversion
mikemikimike 1d20b60
test: keep tuple regression coverage focused
mikemikimike 0d4c09d
fix: keep tuple widening maps positional
mikemikimike 1821b80
test: assert tuple metadata stays indexed
mikemikimike aa6dace
test: cover boolean tuple map alignment
mikemikimike 0a9f9d1
fix: preserve homogeneous array widening maps
mikemikimike eaa6dfc
fix: fall back from prefix item strict schemas
mikemikimike 21b6496
test(openai-base): narrow tuple metadata map
mikemikimike 25234cf
ci: apply automated fixes
autofix-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| '@tanstack/ai': patch | ||
| '@tanstack/ai-utils': patch | ||
| '@tanstack/openai-base': patch | ||
| --- | ||
|
|
||
| Preserve positional tuple schemas and their null-widening metadata during strict output conversion. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.