SDK regeneration#767
Merged
Merged
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.14.4
daniel-cohere
approved these changes
May 28, 2026
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 SDK generation by Fern
Note
Medium Risk
Simplified
parse_sse_objchanges how streamed SSE events are deserialized; streaming consumers could break if they depended on removed event-level union logic, though Fern now handles that at codegen.Overview
Fern-regenerated release 7.0.1 bumps package and client metadata (
.fern/metadata.json,pyproject.toml,User-Agent/X-Fern-SDK-Versioninclient_wrapper.py) and refreshespoetry.lock(e.g.huggingface-hub,oci,pytest-asyncio).Embed API docs for the
imagesparameter are updated acrossreference.mdand generated clients (base_client,raw_base_client,v2/*): limits are split by model generation—Embed v3.x still allows 1 image up to 5MB each; Embed v4.0+ allows multiple images with a 20MB combined cap. Wording drops the old single global “1 image / 5MB” rule.SSE parsing in
parse_sse_obj(pydantic_utilities.py) is narrowed: runtime event-level discriminated-union handling is removed; the helper now JSON-parses thedatafield and deserializes to the target type, with protocol-level discrimination deferred to code generation.Reviewed by Cursor Bugbot for commit 33fa1ed. Bugbot is set up for automated code reviews on this repo. Configure here.