mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
fix: Dictation API error message shows incorrect limit (#7423)
Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
This commit is contained in:
@@ -127,7 +127,7 @@ fn convert_error(e: anyhow::Error) -> ErrorResponse {
|
||||
(status = 400, description = "Invalid request (bad base64 or unsupported format)"),
|
||||
(status = 401, description = "Invalid API key"),
|
||||
(status = 412, description = "Provider not configured"),
|
||||
(status = 413, description = "Audio file too large (max 25MB)"),
|
||||
(status = 413, description = "Audio file too large (max 50MB)"),
|
||||
(status = 429, description = "Rate limit exceeded"),
|
||||
(status = 500, description = "Internal server error"),
|
||||
(status = 502, description = "Provider API error"),
|
||||
|
||||
@@ -1839,7 +1839,7 @@
|
||||
"description": "Provider not configured"
|
||||
},
|
||||
"413": {
|
||||
"description": "Audio file too large (max 25MB)"
|
||||
"description": "Audio file too large (max 50MB)"
|
||||
},
|
||||
"429": {
|
||||
"description": "Rate limit exceeded"
|
||||
|
||||
@@ -2969,7 +2969,7 @@ export type TranscribeDictationErrors = {
|
||||
*/
|
||||
412: unknown;
|
||||
/**
|
||||
* Audio file too large (max 25MB)
|
||||
* Audio file too large (max 50MB)
|
||||
*/
|
||||
413: unknown;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user