dograh/api/db
Matt Van Horn 3309face2c
fix: reject misrouted smallwebrtc runs on the telephony websocket (#468)
* fix: reject misrouted smallwebrtc runs on the telephony websocket

A smallwebrtc (browser/WebRTC) workflow run is established through the WebRTC
signaling endpoint, not the PSTN telephony websocket. When such a run reached
_handle_telephony_websocket it read no "provider" from initial_context and
closed with an opaque "Provider type not found". Detect smallwebrtc runs and
close with a clear reason pointing to the signaling endpoint, without setting
the run to running or invoking a telephony provider. Also store the provider on
smallwebrtc runs at creation so they are self-describing, and make the generic
no-provider close reason include the run id and mode.

Closes #433

* fix: merge workflow run initial context defaults

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
2026-06-26 19:37:40 +05:30
..
__init__.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
agent_trigger_client.py fix: make trigger paths globally unique 2026-04-25 19:44:44 +05:30
api_key_client.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
base_client.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
campaign_client.py feat: persist split user and bot audio 2026-06-16 15:19:49 +05:30
database.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
db_client.py feat: billing and credit management v2 (#429) 2026-06-12 14:55:30 +05:30
embed_token_client.py fix: add error in cloudonix cdr report 2026-01-29 20:43:53 +05:30
filters.py feat: billing and credit management v2 (#429) 2026-06-12 14:55:30 +05:30
folder_client.py feat: add google stt and tts. add folders to organize agents 2026-05-22 14:36:50 +05:30
integration_client.py feat: add agent skills to review PR (#320) 2026-05-19 17:02:26 +05:30
knowledge_base_client.py fix: enable knowledge base with Dograh config v2 2026-06-25 22:21:11 +05:30
models.py feat: UI refresh and user onboarding (#430) 2026-06-17 19:49:33 +05:30
organization_client.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
organization_configuration_client.py feat: custom telemetry configuration 2026-03-23 11:36:39 +05:30
organization_usage_client.py feat: UI refresh and user onboarding (#430) 2026-06-17 19:49:33 +05:30
reports_client.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
telephony_configuration_client.py feat: add telnyx webhook api key in telephony config (#270) 2026-05-09 18:03:42 +05:30
telephony_phone_number_client.py feat: agent stream for cloudonix OPBX (#261) 2026-05-02 15:53:58 +05:30
tool_client.py feat: add end_call tool (#118) 2026-01-14 16:40:40 +05:30
user_client.py chore: update documentation 2026-06-19 18:11:35 +05:30
webhook_credential_client.py Feat/Add API Trigger and Webhooks in Agent Builder (#83) 2025-12-22 14:08:30 +05:30
workflow_client.py feat: add google stt and tts. add folders to organize agents 2026-05-22 14:36:50 +05:30
workflow_recording_client.py feat: allow recordings in tool transitions 2026-04-10 16:18:01 +05:30
workflow_run_client.py fix: reject misrouted smallwebrtc runs on the telephony websocket (#468) 2026-06-26 19:37:40 +05:30
workflow_run_text_session_client.py feat: add chat based testing for voice agent (#308) 2026-05-21 15:20:02 +05:30
workflow_template_client.py Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30