Skip to content

feat: add streaming support to AIGateway audio transcription API#1230

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2679_156f96d
Jul 5, 2026
Merged

feat: add streaming support to AIGateway audio transcription API#1230
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2679_156f96d

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Adds stream=true support to the AIGateway audio transcription API to align with OpenAI-compatible streaming, including SSE/NDJSON decoding, usage/trace extraction, and consistent error formatting.
  • Introduces a shared stream decoder package to unify SSE and NDJSON handling across chat and response streams, while removing rate limits on the audio interface to prevent user experience issues during frequent agent calls.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1229

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@HaiHui886 HaiHui886 merged commit 5479fea into main Jul 5, 2026
7 checks passed
@HaiHui886 HaiHui886 deleted the sync_mr_2679_156f96d branch July 5, 2026 14:06
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