Skip to content

SDK regeneration#767

Merged
daniel-cohere merged 1 commit into
mainfrom
fern-bot/2026-05-28_17-22-46_617
May 28, 2026
Merged

SDK regeneration#767
daniel-cohere merged 1 commit into
mainfrom
fern-bot/2026-05-28_17-22-46_617

Conversation

@fern-api
Copy link
Copy Markdown
Contributor

@fern-api fern-api Bot commented May 28, 2026

Automated SDK generation by Fern


Note

Medium Risk
Simplified parse_sse_obj changes 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-Version in client_wrapper.py) and refreshes poetry.lock (e.g. huggingface-hub, oci, pytest-asyncio).

Embed API docs for the images parameter are updated across reference.md and 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 the data field 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.

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 5.14.4
@daniel-cohere daniel-cohere merged commit eaf7d15 into main May 28, 2026
4 checks passed
@daniel-cohere daniel-cohere deleted the fern-bot/2026-05-28_17-22-46_617 branch May 28, 2026 17:37
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