Skip to content

fix: Dictation API error message shows incorrect limit#7423

Merged
jamadeo merged 1 commit intoblock:mainfrom
Abhijay007:dicationApiLimit
Feb 26, 2026
Merged

fix: Dictation API error message shows incorrect limit#7423
jamadeo merged 1 commit intoblock:mainfrom
Abhijay007:dicationApiLimit

Conversation

@Abhijay007
Copy link
Collaborator

closes: #7398

Summary

Type of Change

  • Bug fix

Testing

Screenshots/Demos (for UX changes)

Before:

After:

Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Dictation transcribe endpoint’s OpenAPI documentation to reflect the correct enforced audio upload size limit (50MB), and regenerates the downstream OpenAPI artifacts consumed by the desktop UI.

Changes:

  • Fixes the OpenAPI 413 response description for /dictation/transcribe from “max 25MB” to “max 50MB”.
  • Regenerates ui/desktop/openapi.json to include the corrected error description.
  • Updates the generated desktop TypeScript API types to match the regenerated OpenAPI spec.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
crates/goose-server/src/routes/dictation.rs Corrects the OpenAPI annotation for the 413 error description to match the 50MB enforced limit.
ui/desktop/openapi.json Regenerated OpenAPI artifact reflecting the corrected 413 description.
ui/desktop/src/api/types.gen.ts Regenerated TS types reflecting the corrected 413 description.

@jamadeo jamadeo added this pull request to the merge queue Feb 26, 2026
Merged via the queue into block:main with commit 5dfd626 Feb 26, 2026
23 checks passed
zanesq added a commit that referenced this pull request Feb 26, 2026
…m-cache

* 'main' of github.com:block/goose:
  fix: replace unwrap() with graceful error in scheduler execute_job (#7436)
  fix: Dictation API error message shows incorrect limit (#7423)
  fix(acp): Use ACP schema types for session/list (#7409)
  fix(desktop): make bundle and updater asset naming configurable (#7337)
  fix(openai): preserve order in Responses API history (#7500)
  Use the correct Goose emoji 🪿 instead of Swan in README.md (#7485)
  feat(ui): implement fullscreen and pip display modes for MCP Apps (#7312)
  Disable tool pair summarization (#7481)
benthecarman pushed a commit to benthecarman/goose that referenced this pull request Feb 27, 2026
Signed-off-by: Abhijay007 <Abhijay007j@gmail.com>
tlongwell-block added a commit that referenced this pull request Feb 27, 2026
…patible

* origin/main: (70 commits)
  feat: allow goose askai bot to search goose codebase (#7508)
  Revert "Reapply "fix: prevent crashes in long-running Electron sessions""
  Reapply "fix: prevent crashes in long-running Electron sessions"
  Revert "fix: prevent crashes in long-running Electron sessions"
  fix: replace unwrap() with graceful error in scheduler execute_job (#7436)
  fix: Dictation API error message shows incorrect limit (#7423)
  fix(acp): Use ACP schema types for session/list (#7409)
  fix(desktop): make bundle and updater asset naming configurable (#7337)
  fix(openai): preserve order in Responses API history (#7500)
  Use the correct Goose emoji 🪿 instead of Swan in README.md (#7485)
  feat(ui): implement fullscreen and pip display modes for MCP Apps (#7312)
  fix: prevent crashes in long-running Electron sessions
  Disable tool pair summarization (#7481)
  fix: New Recipe Warning does not close on cancel (#7524)
  The client is not the source of truth (#7438)
  feat: support Anthropic adaptive thinking (#7356)
  copilot instructions: reword no prerelease docs (#7101)
  fix(acp): don't fail session creation when model listing is unavailable (#7484)
  feat: simplify developer extension (#7466)
  feat: add goose-powered release notes generator workflow (#7503)
  ...

# Conflicts:
#	Cargo.lock
tlongwell-block added a commit that referenced this pull request Feb 27, 2026
…m-extension-pr

* origin/main:
  Update CODEOWNERS for team restructuring (#7574)
  Add snapshot test with platform extensions (#7573)
  Handle Bedrock 'prompt is too long' error (#7550)
  feat: make pctx/Code Mode an optional dependency via 'code-mode' feature (#7567)
  chore(release): release version 1.26.0 (minor) (#7512)
  feat: allow goose askai bot to search goose codebase (#7508)
  Revert "Reapply "fix: prevent crashes in long-running Electron sessions""
  Reapply "fix: prevent crashes in long-running Electron sessions"
  Revert "fix: prevent crashes in long-running Electron sessions"
  fix: replace unwrap() with graceful error in scheduler execute_job (#7436)
  fix: Dictation API error message shows incorrect limit (#7423)
  fix(acp): Use ACP schema types for session/list (#7409)
  fix(desktop): make bundle and updater asset naming configurable (#7337)
  fix(openai): preserve order in Responses API history (#7500)
  Use the correct Goose emoji 🪿 instead of Swan in README.md (#7485)
  fix: prevent crashes in long-running Electron sessions
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.

bug: Dictation API error message shows incorrect 25MB limit (actual limit is 50MB)

3 participants