Skip to content

SDK regeneration - #835

Merged
kraenhansen merged 3 commits into
mainfrom
fern-bot/2026-08-06_15-18-55_193
Aug 6, 2026
Merged

kraenhansen merged 3 commits into
mainfrom
fern-bot/2026-08-06_15-18-55_193

Conversation

@fern-api

@fern-api fern-api Bot commented Aug 6, 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-06_15-18-55_193 origin/fern-bot/2026-08-06_15-18-55_193
    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-06_15-18-55_193 origin/fern-bot/2026-08-06_15-18-55_193
  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
Breaking dubbing client signatures and regenerate return type can break callers; an unresolved Fern replay conflict on dubbing project multipart encoding may regress a prior fix if merged as-is.

Overview
Automated Fern SDK regeneration bumps the package from 2.61.0 to 2.62.0 and refreshes clients, types, and reference.md to match the current API.

Dubbing gets the largest surface-area change. Enterprise transcript segment edits now take DubbingSegmentUpdateRequest / DubbingTargetSegmentUpdateRequest bodies instead of loose kwargs, plus new update_segments bulk PATCH helpers on source and target transcripts. regenerate now returns DubbingRegenerateResponse with updated enterprise semantics. Project create adds webhook_ids, model_id is typed as ProjectCreateRequestModelId (dubbing_v1 / dubbing_v2), and per-language create drops the model_id parameter. Docs label several transcript operations as enterprise-only.

Conversational AI adds guardrail_types and custom_guardrail_names filters on conversation list, optional include_commit_status on agent branch list, and request_meta on MCP server config updates (for MCP _meta on tool calls). batch_calls.export is unchanged in behavior but reordered in generated clients/docs.

New or expanded public types include SfxModelId, transfer-rule CRUD params, dubbing bulk/error/regenerate models, CustomToolApiSchemaConfig, VoicesNotPermittedWarning, and MCP request_meta value types. Merge this only after resolving the flagged dubbing/project/raw_client.py replay conflict so the list-of-primitive multipart fix is preserved.

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

fern-api Bot added 2 commits August 6, 2026 15:18
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 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 500552f. Configure here.

kraenhansen
kraenhansen previously approved these changes Aug 6, 2026
@kraenhansen
kraenhansen dismissed their stale review August 6, 2026 15:26

Too early - didn't notice the compiler failures.

The create-dubbing-project endpoint gained a new webhook_ids field, which
shifted the context of the Fern Replay patch #825 so its body hunk no longer
applied: `import json` was removed but `json.dumps(...)` was left behind for
both keyterms and webhook_ids, breaking mypy (and raising NameError at runtime).

Extend the fix to both fields so it matches the TS SDK (repeated form fields).
Fern Replay will re-derive the patch to cover webhook_ids on the next regen.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@kraenhansen
kraenhansen merged commit 80f2f2e into main Aug 6, 2026
4 checks passed
@kraenhansen
kraenhansen deleted the fern-bot/2026-08-06_15-18-55_193 branch August 6, 2026 15:43
kraenhansen added a commit that referenced this pull request Sep 2, 2026
Same half-applied Fern Replay patch as #835. The recorded patch
(patch-560b8934, from #825) only covers keyterms; webhook_ids appears
nowhere in .fern/replay.lock. Its body hunk therefore fails against the
current generated context while the import-removal hunk still applies,
leaving `json.dumps(...)` with no `import json`: mypy name-defined errors
and a NameError at runtime.

#835 predicted Replay would re-derive the patch to cover webhook_ids. It
did not, so this recurs on every regeneration until the patch is extended
or the generator stops emitting json.dumps for list-of-primitive multipart
fields (pinned at fern-python-sdk 4.64.1 for Python compat).

Co-Authored-By: Claude Opus 5 <[email protected]>
kraenhansen added a commit that referenced this pull request Sep 2, 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: send dubbing keyterms/webhook_ids as repeated multipart form fields

Same half-applied Fern Replay patch as #835. The recorded patch
(patch-560b8934, from #825) only covers keyterms; webhook_ids appears
nowhere in .fern/replay.lock. Its body hunk therefore fails against the
current generated context while the import-removal hunk still applies,
leaving `json.dumps(...)` with no `import json`: mypy name-defined errors
and a NameError at runtime.

#835 predicted Replay would re-derive the patch to cover webhook_ids. It
did not, so this recurs on every regeneration until the patch is extended
or the generator stops emitting json.dumps for list-of-primitive multipart
fields (pinned at fern-python-sdk 4.64.1 for Python compat).

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]>
kraenhansen added a commit that referenced this pull request Sep 7, 2026
Same half-applied Fern Replay patch as #835 and #859. The recorded patch
(patch-560b8934, from #825) still only covers keyterms; webhook_ids is
absent from .fern/replay.lock. Its body hunk fails against the current
generated context while the import-removal hunk applies, leaving
`json.dumps(...)` with no `import json`: mypy name-defined errors and a
NameError at runtime.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator stops emitting json.dumps for
list-of-primitive multipart fields (pinned at fern-python-sdk 4.64.1 for
Python compat).

Co-Authored-By: Claude Opus 5 <[email protected]>
kraenhansen added a commit that referenced this pull request Sep 7, 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: send dubbing keyterms/webhook_ids as repeated multipart form fields

Same half-applied Fern Replay patch as #835 and #859. The recorded patch
(patch-560b8934, from #825) still only covers keyterms; webhook_ids is
absent from .fern/replay.lock. Its body hunk fails against the current
generated context while the import-removal hunk applies, leaving
`json.dumps(...)` with no `import json`: mypy name-defined errors and a
NameError at runtime.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator stops emitting json.dumps for
list-of-primitive multipart fields (pinned at fern-python-sdk 4.64.1 for
Python compat).

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]>
kraenhansen added a commit that referenced this pull request Sep 11, 2026
Same half-applied Fern Replay patch as #835, #859 and #863. The recorded
patch (patch-560b8934, from #825) still only covers keyterms; webhook_ids
is absent from .fern/replay.lock. Its body hunk fails against the current
generated context while the import-removal hunk applies, leaving
`json.dumps(...)` with no `import json`: mypy name-defined errors and a
NameError at runtime.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator stops emitting json.dumps for
list-of-primitive multipart fields (pinned at fern-python-sdk 4.64.1 for
Python compat).

Co-Authored-By: Claude Opus 5 <[email protected]>
kraenhansen added a commit that referenced this pull request Sep 11, 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: send dubbing keyterms/webhook_ids as repeated multipart form fields

Same half-applied Fern Replay patch as #835, #859 and #863. The recorded
patch (patch-560b8934, from #825) still only covers keyterms; webhook_ids
is absent from .fern/replay.lock. Its body hunk fails against the current
generated context while the import-removal hunk applies, leaving
`json.dumps(...)` with no `import json`: mypy name-defined errors and a
NameError at runtime.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator stops emitting json.dumps for
list-of-primitive multipart fields (pinned at fern-python-sdk 4.64.1 for
Python compat).

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]>
kraenhansen added a commit that referenced this pull request Sep 21, 2026
Same half-applied Fern Replay patch as #835, #859 and #863. The recorded
patch (patch-560b8934, from #825) still only covers keyterms; webhook_ids
is absent from .fern/replay.lock. Its body hunk fails against the current
generated context while the import-removal hunk applies, leaving
`json.dumps(...)` with no `import json`: mypy name-defined errors and a
NameError at runtime.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator stops emitting json.dumps for
list-of-primitive multipart fields (pinned at fern-python-sdk 4.64.1 for
Python compat).

Co-Authored-By: Claude Opus 5 <[email protected]>
kraenhansen added a commit that referenced this pull request Sep 24, 2026
Same half-applied Fern Replay patch as #835, #859 and #863. The recorded
patch (patch-560b8934, from #825) still only covers keyterms; webhook_ids
is absent from .fern/replay.lock. Its body hunk fails against the current
generated context while the import-removal hunk applies, leaving
`json.dumps(...)` with no `import json`: mypy name-defined errors and a
NameError at runtime.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator stops emitting json.dumps for
list-of-primitive multipart fields (pinned at fern-python-sdk 4.64.1 for
Python compat).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
kraenhansen added a commit that referenced this pull request Sep 24, 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: send dubbing keyterms/webhook_ids as repeated multipart form fields

Same half-applied Fern Replay patch as #835, #859 and #863. The recorded
patch (patch-560b8934, from #825) still only covers keyterms; webhook_ids
is absent from .fern/replay.lock. Its body hunk fails against the current
generated context while the import-removal hunk applies, leaving
`json.dumps(...)` with no `import json`: mypy name-defined errors and a
NameError at runtime.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator stops emitting json.dumps for
list-of-primitive multipart fields (pinned at fern-python-sdk 4.64.1 for
Python compat).

Co-Authored-By: Claude Opus 5.5 (1M context) <[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.5 (1M context) <[email protected]>
kraenhansen added a commit that referenced this pull request Sep 28, 2026
Same half-applied Fern Replay patch as #835, #859, #863 and #867. The
recorded patch (patch-560b8934, from #825) still only covers keyterms;
webhook_ids is absent from .fern/replay.lock. Its body hunk fails against
the current generated context while the import-removal hunk applies,
leaving `json.dumps(...)` with no `import json`: mypy name-defined errors
and a NameError at runtime.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
kraenhansen added a commit that referenced this pull request Sep 28, 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: send dubbing keyterms/webhook_ids as repeated multipart form fields

Same half-applied Fern Replay patch as #835, #859, #863 and #867. The
recorded patch (patch-560b8934, from #825) still only covers keyterms;
webhook_ids is absent from .fern/replay.lock. Its body hunk fails against
the current generated context while the import-removal hunk applies,
leaving `json.dumps(...)` with no `import json`: mypy name-defined errors
and a NameError at runtime.

Co-Authored-By: Claude Opus 5.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.5 <[email protected]>
kraenhansen added a commit that referenced this pull request Oct 5, 2026
Same half-applied Fern Replay patch as #835, #859 and #863. The recorded
patch (patch-560b8934, from #825) still only covers keyterms; its body
hunk fails against the current generated context while the import-removal
hunk applies, leaving `json.dumps(...)` with no `import json`.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator pin (fern-python-sdk 4.64.1) moves
past 5.22.2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
kraenhansen added a commit that referenced this pull request Oct 5, 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: send dubbing keyterms/webhook_ids as repeated multipart form fields

Same half-applied Fern Replay patch as #835, #859 and #863. The recorded
patch (patch-560b8934, from #825) still only covers keyterms; its body
hunk fails against the current generated context while the import-removal
hunk applies, leaving `json.dumps(...)` with no `import json`.

Recurs on every regeneration until the recorded patch is extended to
cover webhook_ids, or the generator pin (fern-python-sdk 4.64.1) moves
past 5.22.2.

Co-Authored-By: Claude Opus 5.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.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