Skip to content

Add environment parameter to conversational AI#745

Merged
AngeloGiacco merged 3 commits intomainfrom
angelo/envs-support
Mar 16, 2026
Merged

Add environment parameter to conversational AI#745
AngeloGiacco merged 3 commits intomainfrom
angelo/envs-support

Conversation

@AngeloGiacco
Copy link
Copy Markdown
Collaborator

Summary

  • Adds optional environment parameter to the WebSocket connection URL for conversational AI agents
  • Adds optional environment parameter to the get_signed_url and get_webrtc_token API routes (both sync and async clients)
  • Adds optional environment parameter to Conversation and AsyncConversation classes, which gets passed through to the WebSocket URL and signed URL endpoints
  • Defaults to "production" on the server when not specified

Test plan

  • Verify environment query param is appended to WebSocket URL when provided
  • Verify environment query param is sent to get_signed_url endpoint
  • Verify environment query param is sent to get_webrtc_token endpoint
  • Verify no environment param is sent when not specified (backwards compatible)

🤖 Generated with Claude Code

AngeloGiacco and others added 3 commits March 16, 2026 10:06
… and token routes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread tests/utils.py
@AngeloGiacco AngeloGiacco merged commit fde2b84 into main Mar 16, 2026
5 checks passed
@AngeloGiacco AngeloGiacco deleted the angelo/envs-support branch March 16, 2026 12:49
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.

3 participants