mock audio translations/transcriptions functions#521
Merged
sjmonson merged 1 commit intovllm-project:mainfrom Jan 7, 2026
Merged
mock audio translations/transcriptions functions#521sjmonson merged 1 commit intovllm-project:mainfrom
sjmonson merged 1 commit intovllm-project:mainfrom
Conversation
Signed-off-by: guangli.bao <guangli.bao@daocloud.io>
sjmonson
approved these changes
Jan 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
start mock_server via cmd:
uidellm mock-server --host 0.0.0.0 --port 8080
curl cmds:
curl -X POST http://127.0.0.1:8080/v1/audio/transcriptions
-F "file=@/${local_path}/output_audio.mp3"
-F "model=whisper-1"
-F "language=zh"
curl -X POST http://127.0.0.1:8080/v1/audio/transcriptions
-F "file=@/${local_path}/output_audio.mp3"
-F "model=whisper-large-v3"
-F "language=en"
-F "prompt=This is a technical demonstration"
-F "temperature=0.3"
-F "response_format=verbose_json"
curl -X POST http://127.0.0.1:8080/v1/audio/transcriptions
-F "file=@/${local_path}/output_audio.mp3"
-F "response_format=text"
curl -X POST http://127.0.0.1:8080/v1/audio/translations
-F "file=@/${local_path}/output_audio.mp3"
Details
Test Plan
Related Issues
Use of AI
## WRITTEN BY AI ##)