release: 0.33.0#247
Merged
Merged
Conversation
Contributor
Author
|
🧪 Testing To try out this version of the SDK, run: Expires: Fri, 07 Nov 2025 09:28:53 GMT |
85b73ab to
fd5a21c
Compare
fd5a21c to
d014fca
Compare
d014fca to
f095d04
Compare
| None, | ||
| ], | ||
| PropertyInfo(discriminator="type"), | ||
| ] |
There was a problem hiding this comment.
| None, | ||
| ], | ||
| PropertyInfo(discriminator="type"), | ||
| ] |
There was a problem hiding this comment.
Bug: Discriminator Ambiguity in Metadata Types
The GeneratedMetadata TypeAlias uses a discriminator on the type field, but its union variants define type as Optional[Literal[...]] = None. This ambiguity when type is None can lead to deserialization errors.
Additional Locations (1)
Contributor
Author
|
🤖 Release is at https://github.com/mixedbread-ai/mixedbread-python/releases/tag/v0.33.0 🌻 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Automated Release PR
0.33.0 (2025-10-08)
Full Changelog: v0.32.1...v0.33.0
Features
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Note
Bumps to 0.33.0 with API/codegen introducing structured
generated_metadataunions across chunk and vector store models, plus spec and changelog updates.Dict-basedgenerated_metadatawith discriminated-union types (markdown,text,pdf,code,audio) across:src/mixedbread/types/scored_*_input_chunk.pysrc/mixedbread/types/stores/store_file.pysrc/mixedbread/types/vector_stores/*vector_store_file.pysrc/mixedbread/types/vector_store_*_response.pyPropertyInfo(discriminator="type"), andTYPE_CHECKING/FieldInfohandling.0.32.1->0.33.0inpyproject.toml,_version.py, and manifest..stats.yml.CHANGELOG.mdentry for0.33.0(API update).Written by Cursor Bugbot for commit f095d04. This will update automatically on new commits. Configure here.