Skip to content

chore: sync sdk code with DeepLearning repo#206

Merged
bgotthold-aai merged 1 commit into
masterfrom
1D7569FD6C40A22DDB50154A9AE3A8C1
Jun 11, 2026
Merged

chore: sync sdk code with DeepLearning repo#206
bgotthold-aai merged 1 commit into
masterfrom
1D7569FD6C40A22DDB50154A9AE3A8C1

Conversation

@bgotthold-aai

@bgotthold-aai bgotthold-aai commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

v0.64.16

  • Streaming connections now retry transient handshake failures. New StreamingClientOptions fields —
    max_connection_retries (default 2) and connection_retry_delay (default 0.5s) — automatically retry timeouts and
    network drops during the WebSocket handshake. HTTP-level rejections (auth, quota, bad request) still fail fast.
    The handshake connect_timeout is now configurable (default 1.0s).
  • Graceful disconnect waits for the server's final messages. disconnect(terminate=True) now blocks (up to the new
    terminate_timeout, default 5.0s) for the final Turn and TerminationEvent to dispatch before teardown, so the
    closing transcript and total-audio-duration report are no longer dropped. Applies to both the sync and async
    clients.
  • BeginEvent now exposes session configuration. A new SessionConfiguration model (model, mode, api_version) is
    available on BeginEvent.configuration, letting you read back the negotiated streaming settings. Parsing tolerates
    unknown/null mode values so a new server-side mode won't drop the event.
  • SyncTranscriptResponse word type unified. words now uses the standard Word model instead of the separate
    SyncWord type (now removed). The inference_time_ms field was also removed from the sync response.
  • README no longer carries the "testing and light usage only" warning, reflecting the SDK's support for production
    use.

GitOrigin-RevId: 8bde83cabc9c27cc0f66eb3860b0293fa93800cf
Comment thread assemblyai/streaming/v3/async_client.py
Comment thread assemblyai/streaming/v3/client.py
@bgotthold-aai bgotthold-aai merged commit 7407e85 into master Jun 11, 2026
7 checks passed
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