Skip to content

Feat: flag to enable/disable session recordings#37

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

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

Conversation

@sebvanleuven
Copy link
Contributor

@sebvanleuven sebvanleuven commented Feb 18, 2026

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
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

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

Copy link
Contributor

@ao-anam ao-anam left a comment

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
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