Skip to content

Feat: flag to enable/disable session recordings - #37

Merged
sebvanleuven merged 5 commits into
mainfrom
feat/add_session_recording_flag
Feb 18, 2026
Merged

Feat: flag to enable/disable session recordings#37
sebvanleuven merged 5 commits into
mainfrom
feat/add_session_recording_flag

Conversation

@sebvanleuven

@sebvanleuven sebvanleuven commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Summary by cubic

Adds a session recording flag so apps can enable or disable session replay per connection. Defaults to on; pass SessionOptions to turn it off. Examples also clarify when to call end_sequence().

  • New Features

    • Added SessionOptions and SessionReplayOptions with enable_session_replay (default True).
    • client.connect_async now accepts session_options and includes them when requesting the session token.
    • Exported SessionOptions and SessionReplayOptions.
  • Migration

    • To disable recordings: await client.connect_async(SessionOptions(enable_session_replay=False)).
    • send_audio_file_chunked no longer ends the sequence; call await agent.end_sequence() after TTS finishes.

Written for commit ae68287. Summary will update on new commits.

@sebvanleuven
sebvanleuven requested a review from ao-anam February 18, 2026 13:57

@cubic-dev-ai cubic-dev-ai 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.

No issues found across 8 files

@ao-anam ao-anam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@sebvanleuven
sebvanleuven merged commit adb7dac into main Feb 18, 2026
8 checks passed
@sebvanleuven
sebvanleuven deleted the feat/add_session_recording_flag branch April 14, 2026 09:17
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