Skip to content

SDK regeneration#782

Merged
daniel-cohere merged 2 commits into
mainfrom
fern-bot/2026-07-23_19-26-52_096
Jul 23, 2026
Merged

SDK regeneration#782
daniel-cohere merged 2 commits into
mainfrom
fern-bot/2026-07-23_19-26-52_096

Conversation

@fern-api

@fern-api fern-api Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

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:

File Your customization Why it conflicted
pyproject.toml fix(utils): embed(texts=[]) crashes with IndexError on empty input (#778) The new generation changed the same lines you edited
src/cohere/core/client_wrapper.py fix(utils): embed(texts=[]) crashes with IndexError on empty input (#778) The new generation changed the same lines you edited

How to resolve

  1. Check out this branch:
    git fetch origin && git checkout -b fern-bot/2026-07-23_19-26-52_096 origin/fern-bot/2026-07-23_19-26-52_096
    Or if you don't have the repo cloned:
    git clone https://github.com/cohere-ai/cohere-python.git && cd cohere-python && git checkout -b fern-bot/2026-07-23_19-26-52_096 origin/fern-bot/2026-07-23_19-26-52_096
  2. Run: fern replay resolve
  3. Open the conflicting files in your editor — you'll see standard merge conflict markers
  4. Resolve using your editor's merge tools (VS Code, IntelliJ, etc.)
  5. Run: fern replay resolve again to finalize
  6. Push your changes

Your 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
Mostly mechanical release churn, but unresolved Fern Replay conflicts on shared version lines and transitive HTTP client upgrades could affect installs or repeat on the next generation if not resolved.

Overview
Automated Fern regeneration bumps the package from 7.0.7 to 7.0.8, updates Fern metadata (Python generator 5.20.0 → 5.22.1), and refreshes poetry.lock (notably aiohttp 3.14.3, httpx-aiohttp 0.1.12, certifi).

Client identity strings in client_wrapper.py (User-Agent / X-Fern-SDK-Version) are updated to 7.0.8. The optional httpx-aiohttp dependency constraint loosens from a pinned 0.1.8 to ^0.1.8.

Merge note: Fern Replay reports unresolved conflicts in pyproject.toml and src/cohere/core/client_wrapper.py where prior manual version patches overlap the new generation—run fern replay resolve before merge so customizations are not lost on the next run.

Reviewed by Cursor Bugbot for commit 1e146b6. Bugbot is set up for automated code reviews on this repo. Configure here.

fern-api Bot added 2 commits July 23, 2026 19:26
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 5.22.1
Patches with unresolved conflicts (2):
  - 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)
    Run `fern-replay resolve` to apply these customizations.
@daniel-cohere
daniel-cohere merged commit 050f9c0 into main Jul 23, 2026
4 checks passed
@daniel-cohere
daniel-cohere deleted the fern-bot/2026-07-23_19-26-52_096 branch July 23, 2026 19:36
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