Variable interpolation failure in error response
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
Research direction
Start in vox_box/server/routers.py at line 144 and inspect how the /v1/audio/transcriptions endpoint builds its error response for an invalid response_format. Reproduce the request with an unsupported value, correct the message interpolation, and verify that the response includes the supplied value instead of the literal placeholder.
Written by the indexing model from the issue text.
Description
Summary
In the /v1/audio/transcriptions endpoint, the error response is not properly formatted when an invalid response_format is included.
Relevant location
Actual response
{'status_code': 400, 'detail': 'Unsupported response_format: {response_format}', 'headers': None}
- Dominant language
- Python
- Stars
- 217
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gpustack/vox-box
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
All issues in gpustack/vox-box
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100