Skip to content

(deepgram stt): fix reconnect on send-side socket drops instead of crashing the session#6429

Open
tinalenguyen wants to merge 1 commit into
mainfrom
tina/fix-deepgram-disconnect
Open

(deepgram stt): fix reconnect on send-side socket drops instead of crashing the session#6429
tinalenguyen wants to merge 1 commit into
mainfrom
tina/fix-deepgram-disconnect

Conversation

@tinalenguyen

Copy link
Copy Markdown
Member

@tinalenguyen tinalenguyen requested a review from a team as a code owner July 15, 2026 04:07

@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 bugs or issues to report.

Open in Devin Review

# if the close is expected (aclose or the http session closing) just
# return; otherwise re-raise as a retryable APIError so _main_task
# reconnects, symmetric with recv_task.
if closing_ws or self._session.closed:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would we run into the same error in recv_task? should the retry be a bit higher level from here?

is this deepgram specific? or should we fix the other plugins/inference too?

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