Skip to content

feat: streaming response for tts - #1122

Merged
Calcium-Ion merged 1 commit into
QuantumNous:mainfrom
akkuman:feat/stream-tts
May 31, 2025
Merged

feat: streaming response for tts#1122
Calcium-Ion merged 1 commit into
QuantumNous:mainfrom
akkuman:feat/stream-tts

Conversation

@akkuman

@akkuman akkuman commented May 29, 2025

Copy link
Copy Markdown
Contributor

The status code has been judged before, if there is a body reading failure, it should be regarded as a non-recoverable error, so it should not return err for external retry. Analogous to nginx's load balancing, it will only retry if it can't be requested or if the upstream returns a specific status code, once the upstream has already written the header, the subsequent failure of the response body should be regarded as a non-recoverable error, and can be terminated directly.

@Calcium-Ion
Calcium-Ion merged commit 9c4d3a6 into QuantumNous:main May 31, 2025
x22x22 pushed a commit to x22x22/new-api that referenced this pull request Apr 24, 2026
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