Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Routes regular chat requests to the standard endpoints
Handles WebSocket connections for /realtime endpoints Automatically redirects voice/audio requests to use the realtime endpoint when using realtime models Maintains bidirectional message relay for realtime connections Properly handles session management and cleanup For Open WebUI compatibility: Regular chat will continue to work as before Voice features will automatically use the realtime endpoint when needed The proxy will handle upgrading connections to WebSocket when required Additional notes: The WebSocket implementation includes proper error handling and connection cleanup The code includes session management for realtime connections Authentication is preserved when proxying to Azure Both OpenAI-style and Azure-style paths are supported
- Loading branch information