SDK regeneration - #13
Merged
Merged
Conversation
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.
Note
Medium Risk
OMIT vs None changes how create_turn and SSE subscribe requests are encoded, which can alter turn chaining and resume behavior for callers that relied on implicit None. Removing external-identity from the enum is a breaking type/API surface change for filters using that subject type.
Overview
Regenerates the TrueFoundry Gateway Python SDK from the updated API definition (Fern CLI 5.80.2, generator 5.22.1), including lockfile bumps for optional httpx-aiohttp (0.1.12).
Optional request parameters on agent turn/session helpers now default to an
OMITsentinel instead ofNone, so omitted kwargs are not serialized as explicit JSON nulls and server defaults (e.g.previous_turn_id→auto) still apply.PreparedTurnkeeps a separate_input_paramwhen forwarding tocreate_turn.stream()/after_sequence_numberdocs now note that omitting the arg resumes via Last-Event-Id rather than a query param.API-aligned type changes:
PreviousTurnIdInputadds the"none"literal;CreatedBySubjectTypedropsexternal-identity/EXTERNAL_IDENTITYfrom the enum andvisit()API (unknown values still map via forward-compat_UNKNOWN).Reviewed by Cursor Bugbot for commit c761555. Bugbot is set up for automated code reviews on this repo. Configure here.