Skip to content

feat!: sdk regeneration 2026-04-14#690

Merged
GregHolmes merged 8 commits intomainfrom
gh/sdk-gen-2026-04-14
Apr 15, 2026
Merged

feat!: sdk regeneration 2026-04-14#690
GregHolmes merged 8 commits intomainfrom
gh/sdk-gen-2026-04-14

Conversation

@GregHolmes
Copy link
Copy Markdown
Contributor

@GregHolmes GregHolmes commented Apr 14, 2026

Summary

  • Fern SDK regeneration with latest API specs from deepgram-docs
  • Re-applied manual patches (broad exception catch, optional send params, sanitize numeric types, construct_type keyword args, float→int
    type fixes)
  • Fixed examples for current API surface
  • New voice agent configurations and variables REST API
  • New WebSocket methods: send_update_think (agent), send_configure (listen v2)

BREAKING CHANGE

Removed public type exports due to upstream API spec restructuring:

Agent provider types restructured (~280 types):

  • AgentV1Settings*SpeakEndpoint* and AgentV1Settings*SpeakOneItem* types replaced by shared provider schemas
    (SpeakSettingsV1Provider_*)
  • AgentV1UpdateSpeak* types restructured similarly
  • AgentV1Settings*ThinkOneItem* types replaced by shared ThinkSettingsV1 schemas

Type enums inlined to Literal strings (42 types):

  • ListenV1MetadataType, ListenV1ResultsType, ListenV1SpeechStartedType, ListenV1UtteranceEndType
  • ListenV2ConnectedType, ListenV2FatalErrorType, ListenV2TurnInfoType
  • SpeakV1MetadataType, SpeakV1TextType, SpeakV1WarningType
  • AgentV1*Type enums (29 types)

Other removed types (9 types):

  • AgentThinkModelsV1ResponseModelsItem*Provider (6 types)
  • MediaTranscribeRequest*Zero (3 types)

Not breaking:

  • No client methods removed
  • No method signatures changed
  • Core APIs (listen, speak, manage, read) unchanged
  • DeepgramClient, transcribe_url, transcribe_file, audio.generate all work identically

Test plan

  • Unit tests: 147 passed, 1 skipped, 0 failed
  • Integration tests: 32/32 passed
  • Examples: all passing
  • 6 SDK-based starters validated against local branch

Copied 7 temporarily frozen files to .bak and updated .fernignore
to protect patched versions while letting Fern overwrite originals.
@GregHolmes GregHolmes requested a review from lukeocodes as a code owner April 14, 2026 08:47
@GregHolmes GregHolmes changed the title chore: SDK regeneration 2026-04-14 chore(sdk): regeneration 2026-04-14 Apr 14, 2026
@GregHolmes GregHolmes self-assigned this Apr 14, 2026
@GregHolmes GregHolmes changed the title chore(sdk): regeneration 2026-04-14 feat!: sdk regeneration 2026-04-14 Apr 15, 2026
@GregHolmes GregHolmes merged commit d4d129f into main Apr 15, 2026
17 of 18 checks passed
@GregHolmes GregHolmes deleted the gh/sdk-gen-2026-04-14 branch April 15, 2026 08:46
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.

2 participants