Skip to content

plugins/phonic: expose more realtime config options - #6687

Merged
tinalenguyen merged 2 commits into
livekit:mainfrom
Phonic-Co:arun/phonic-more-config-fields
Aug 4, 2026
Merged

plugins/phonic: expose more realtime config options#6687
tinalenguyen merged 2 commits into
livekit:mainfrom
Phonic-Co:arun/phonic-more-config-fields

Conversation

@arunwpm-work

@arunwpm-work arunwpm-work commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What

Exposes Phonic realtime config-message fields that phonic-api and the Phonic SDK (>=0.32.9) already support but the plugin didn't surface. All are optional, default-omitted, and wired through both the initial config and mid-session reset.

Added options:

  • websocket_timeout_sec, intelligence_level
  • is_welcome_message_interruptible
  • vad_prebuffer_duration_ms, vad_min_speech_duration_ms, vad_min_silence_duration_ms, vad_threshold
  • enable_assistant_backchannel, assistant_backchannel_aggressiveness
  • pronunciation_dictionary, template_variables, enable_redaction
  • mcp_servers, observability_integrations, configuration_endpoint

Also documents the pre-existing additional_params option in the README table.

Notes

  • New public types exported: IntelligenceLevel, ObservabilityIntegration, PronunciationEntry, ConfigurationEndpoint.
  • No behavior change unless an option is set.

Testing

  • ruff check passes.

🤖 Generated with Claude Code

arunwpm-work and others added 2 commits August 3, 2026 12:12
Pass through config-message fields already supported by phonic-api and the
Phonic SDK (>=0.32.9) but not yet exposed by the plugin:

- websocket_timeout_sec, intelligence_level
- is_welcome_message_interruptible
- background_noise, background_noise_level
- vad_prebuffer/min_speech/min_silence_duration_ms, vad_threshold
- push_to_talk
- enable_assistant_backchannel, assistant_backchannel_aggressiveness
- pronunciation_dictionary, template_variables, enable_redaction
- mcp_servers, observability_integrations, configuration_endpoint

Wired through options -> _build_config_options (initial config + reset).
Also documents the pre-existing additional_params option. README updated.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
These have no equivalent in the LiveKit pipeline (audio mixing / listening
gate are handled by LiveKit, not the Phonic config), so they were removed:
background_noise, background_noise_level, push_to_talk.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@arunwpm-work
arunwpm-work marked this pull request as ready for review August 3, 2026 19:38
@arunwpm-work
arunwpm-work requested a review from a team as a code owner August 3, 2026 19:38

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@tinalenguyen
tinalenguyen merged commit 234bac6 into livekit:main Aug 4, 2026
17 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