SDK regeneration - #805
Merged
Merged
SDK regeneration#805
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.29.3
Patches with unresolved conflicts (3): - patch-c81e8a75: fix(utils): embed(texts=[]) crashes with IndexError on empty input (#778) - patch-41f344bd: feat(client): forward max_retries through Client/ClientV2 constructors (#779) - patch-bc495daa: Omit Authorization header when api_key is empty (#795) Run `fern-replay resolve` to apply these customizations.
fern-api
Bot
force-pushed
the
fern-bot/2026-08-31_21-19-03_250
branch
from
September 28, 2026 20:36
2de27c3 to
3b596c1
Compare
andrewbcohere
approved these changes
Sep 29, 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
✅ Customizations automatically preserved, but 4 files need your attention.
Action required: 4 files with unresolved customization conflicts
The new generation changed code you previously customized. Non-conflicting customizations have been applied automatically. The following files need manual resolution:
pyproject.tomlsrc/cohere/core/client_wrapper.pypyproject.tomlsrc/cohere/core/client_wrapper.pyHow to resolve
git fetch origin && git checkout -b fern-bot/2026-08-31_21-19-03_250 origin/fern-bot/2026-08-31_21-19-03_250fern replay resolvefern replay resolveagain to finalizeYour resolved customizations will be remembered on future SDK generations.
If you merge this PR without resolving, your unresolved customizations will conflict again on the next generation.
Note
Medium Risk
Regenerated HTTP layer changes request shaping for optional-body calls and bumps many dependencies; unresolved replay conflicts may drop prior auth/embed fixes if merged without
fern replay resolve.Overview
Bumps the Cohere Python SDK to 7.2.0 via Fern (generator
5.29.3) and refreshespoetry.locktransitive dependencies.HTTP client behavior now treats endpoints with optional request bodies correctly: when the caller omits all body fields, requests are sent without a body and without
Content-Type, via newoptional_bodyhandling inget_request_bodyanddrop_content_type_without_body.HttpResponse/ streaming wrappers expose the underlyinghttpx.Responsethrough a newresponseproperty.Client metadata updates
User-Agent/X-Fern-SDK-Versionto 7.2.0. Doc examples forAsyncClient.chat_streamandgenerate_streamno longer incorrectlyawaitthe stream call before iterating.The PR description notes unresolved Fern replay conflicts in
pyproject.tomlandclient_wrapper.pyagainst prior patches (#778 empty embed, #795 empty api_key)—those need manual merge before merge if customizations must stay.Reviewed by Cursor Bugbot for commit 3b596c1. Bugbot is set up for automated code reviews on this repo. Configure here.