Skip to content

SDK regeneration - #851

Closed
fern-api[bot] wants to merge 3 commits into
mainfrom
fern-bot/2026-08-24_15-12-07_854
Closed

fern-api[bot] wants to merge 3 commits into
mainfrom
fern-bot/2026-08-24_15-12-07_854

Conversation

@fern-api

@fern-api fern-api Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Automated SDK generation by Fern


Action required: 1 file 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
src/elevenlabs/dubbing/project/raw_client.py fix: send list-of-primitive multipart fields as repeated form fields (#819) (#825) 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-08-24_15-12-07_854 origin/fern-bot/2026-08-24_15-12-07_854
    Or if you don't have the repo cloned:
    git clone https://github.com/elevenlabs/elevenlabs-python.git && cd elevenlabs-python && git checkout -b fern-bot/2026-08-24_15-12-07_854 origin/fern-bot/2026-08-24_15-12-07_854
  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.

fern-api Bot added 2 commits August 24, 2026 15:12
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 4.64.1
Patches with unresolved conflicts (1):
  - patch-560b8934: fix: send list-of-primitive multipart fields as repeated form fields (#819) (#825)
    Run `fern-replay resolve` to apply these customizations.
@cursor

cursor Bot commented Aug 24, 2026 •

Copy link
Copy Markdown

PR Summary

Medium Risk
Large auto-generated API surface (new ticket routes and convai parameter changes) can break callers expecting old types or missing conflict resolution in dubbing multipart handling.

Overview
Regenerates the Python SDK to v2.65.0 from the updated Fern/OpenAPI spec, with a minor charset-normalizer lockfile bump and Fern replay metadata pointing at a new generation commit. Resolve fern replay on src/elevenlabs/dubbing/project/raw_client.py before merge—the multipart list-of-primitives fix still conflicts with generated code.

The largest surface change is agent conversation triage (Architect/QA): nine new top-level ElevenLabs methods to list/filter tickets, create conversation-linked or manual tickets, CRUD/update assignees and status, list assignable workspace users, and append ticket or turn-level comments, plus matching types and with_raw_response on the base client.

Conversational AI gains a lightweight conversations.get_summary, optional debug_events_request on signed URL / WebRTC token flows, richer conversation list and text-search filters (triggered_procedure_ids, include_invalid_tool_calls, sort_direction, EvaluationResultFilter), procedure publish/version options (procedures map on publish, agent_version_id on procedure GET/list), expanded topics query params (pagination, sort, optional criteria payload), live analytics multi-agent agent_ids, and KB auto-sync minimum_frequency_days on URL/folder updates. Alerting types now support integration notifiers alongside webhooks; music APIs consolidate on shared MusicModelId / upload composition-plan types.

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

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 07ec83d. Configure here.

Fern regeneration reverted the #825 fix again, re-wrapping both fields in
json.dumps and dropping the json import, which breaks mypy and re-introduces
the original multipart bug. Same recurrence as #845.

Co-Authored-By: Claude Opus 5 <[email protected]>
@kraenhansen

Copy link
Copy Markdown
Member

Closing: holding the v2.65.0 release.

The nine new /v1/convai/triage-tickets endpoints ship without x-fern-sdk-group-name/x-fern-sdk-method-name upstream (165 of 176 /v1/convai/ operations have them). Fern therefore falls back to the FastAPI handler names and generates them as root-level client methods with a _route suffix, e.g. client.list_agent_conversation_tickets_route(...) instead of client.conversational_ai.triage_tickets.list(...). Releasing would make those names permanent public API.

Being fixed upstream in xi; a fresh regeneration will follow once the corrected spec is synced.

Separately, this branch carried the recurring keyterms/webhook_ids multipart regression again: regeneration re-wrapped both fields in json.dumps and dropped the json import, failing mypy. Fixed here in 5f38738, identical to the fix in #845. That fix is lost with this branch and will need re-applying to the next regeneration, so the underlying replay/custom-code config is worth a look — this is the second release running it has recurred.

kraenhansen added a commit that referenced this pull request Aug 25, 2026
Fern regeneration reverted the #825 fix again, re-wrapping both fields in
json.dumps and dropping the json import, which breaks mypy and re-introduces
the original multipart bug. Third recurrence, after #845 and the fix on the
branch closed with #851.

Co-Authored-By: Claude Opus 5 <[email protected]>
kraenhansen added a commit that referenced this pull request Aug 25, 2026
Fern regeneration reverted the #825 fix again, re-wrapping both fields in
json.dumps and dropping the json import, which breaks mypy and re-introduces
the original multipart bug. Third recurrence, after #845 and the fix on the
branch closed with #851.

Co-Authored-By: Claude Opus 5 <[email protected]>
@kraenhansen kraenhansen mentioned this pull request Aug 25, 2026
kraenhansen added a commit that referenced this pull request Aug 25, 2026
* [fern-generated] Update SDK

Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 4.64.1

* [fern-replay] Applied customizations

Patches with unresolved conflicts (1):
  - patch-560b8934: fix: send list-of-primitive multipart fields as repeated form fields (#819) (#825)
    Run `fern-replay resolve` to apply these customizations.

* fix: preserve repeated-form-field encoding for keyterms/webhook_ids

Fern regeneration reverted the #825 fix again, re-wrapping both fields in
json.dumps and dropping the json import, which breaks mypy and re-introduces
the original multipart bug. Third recurrence, after #845 and the fix on the
branch closed with #851.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Co-authored-by: Kræn Hansen <[email protected]>
Co-authored-by: Claude Opus 5 <[email protected]>
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