SDK regeneration#781
Merged
Merged
Conversation
Generated by Fern CLI Version: unknown Generators: - fernapi/fern-python-sdk: 5.20.0
fern-api
Bot
force-pushed
the
fern-bot/2026-07-20_13-21-57_380
branch
from
July 21, 2026 19:25
152858f to
c7603ac
Compare
daniel-cohere
approved these changes
Jul 21, 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 2 files need your attention.
Action required: 2 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.pyHow to resolve
git fetch origin && git checkout -b fern-bot/2026-07-20_13-21-57_380 origin/fern-bot/2026-07-20_13-21-57_380fern 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
Regeneration changes default HTTP transport (keepalive), streaming reconnection, and dependency minimums; unresolved Fern Replay conflicts on version/client wrapper files must be fixed before merge.
Overview
Automated Fern regeneration bumps the published SDK from 7.0.4 → 7.0.7 and updates Fern tooling (CLI 5.55.0, Python generator 5.20.0). Generator config now enables TCP keepalive (idle 60s / interval 30s / count 5), which wires into default
httpxtransports viaget_keepalive_socket_optionsin the regenerated client.The new generation also brings HTTP client behavior changes in the generated tree—e.g. optional stream reconnection settings on
Client/AsyncClient, refreshed User-Agent / SDK version headers at7.0.7, and dependency floor updates such ashttpx>=0.25.0and stricter optionalaiohttppins inpyproject.toml..fern/replay.lockrecords the new generation and flags two unresolved Replay patches onpyproject.tomlandsrc/cohere/core/client_wrapper.py(prior customizations around version strings and related client wrapper edits). Those needfern replay resolvebefore merge so custom fixes are not lost on the next generation.Reviewed by Cursor Bugbot for commit c7603ac. Bugbot is set up for automated code reviews on this repo. Configure here.