Skip to content

🌿 Fern Regeneration -- February 11, 2026#727

Merged
jasonozuzu-cohere merged 1 commit intomainfrom
fern-bot/2026-02-11T17-25Z
Feb 11, 2026
Merged

🌿 Fern Regeneration -- February 11, 2026#727
jasonozuzu-cohere merged 1 commit intomainfrom
fern-bot/2026-02-11T17-25Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Feb 11, 2026

This PR regenerates code to match the latest API Definition.


Note

Medium Risk
Changes touch core request/auth and HTTP retry/url building logic, which can affect runtime behavior for all API calls (especially base URLs with path prefixes and token handling). Most other diffs are regenerated types/docs and dependency bumps.

Overview
Regenerates the SDK to 5.20.5 with updated Fern tooling (.fern/metadata.json) and refreshed docs (reference.md) that now show explicit AsyncHttpResponse[...] return types.

Client initialization and auth behavior changed: both sync and async clients now raise an ApiError if no token is provided (or CO_API_KEY is unset), and request wrappers always attach an Authorization header; async clients also gain optional async_token support for dynamically awaiting tokens.

HTTP transport behavior changed: URL construction switches away from urljoin to preserve base URL path prefixes, multipart/form bodies now drop None fields, query params avoid passing empty lists to httpx, retry timing/backoff is reworked (includes Retry-After/X-RateLimit-Reset handling + jitter, different caps) and default retry counting/max_retries handling is adjusted.

Type surface is updated (e.g., several *ContentItem exports renamed to *ContentOneItem, CancelBatchResponse values become non-optional Any, and raw clients cast error bodies to Any), and dev tooling adds pytest-xdist plus lockfile dependency updates.

Written by Cursor Bugbot for commit 3bfafd0. This will update automatically on new commits. Configure here.

@jasonozuzu-cohere jasonozuzu-cohere merged commit b36875e into main Feb 11, 2026
5 checks passed
@jasonozuzu-cohere jasonozuzu-cohere deleted the fern-bot/2026-02-11T17-25Z branch February 11, 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