Update AssemblyAI dictation API endpoint to /v1/transcribe - #125
Closed
alexkroman wants to merge 1 commit into
Closed
Update AssemblyAI dictation API endpoint to /v1/transcribe#125alexkroman wants to merge 1 commit into
alexkroman wants to merge 1 commit into
Conversation
The dictation API now serves its routes under /v1 (unversioned paths remain as aliases). Pin the client and its tests to the versioned path. Co-Authored-By: Claude Fable 5 (Jeeves) <noreply@anthropic.com>
Contributor
Dev buildDownload Blurt.app — this PR ( Installing itcd ~/Downloads
unzip -o blurt-dev-build-pr-125.zip # GitHub wraps every artifact in a zip
unzip -o Blurt-dev-b8edad8.zip
xattr -dr com.apple.quarantine Blurt.app
rm -rf /Applications/Blurt.app && cp -R Blurt.app /Applications/
open -a BlurtIt is ad-hoc signed and not notarized: Gatekeeper refuses to open it until |
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.
What & why
Points the dictation client at
POST /v1/transcribeinstead of the unversioned/transcribe, and updates every other reference to the endpoint to match.The dictation API now serves its routes under
/v1, with the unversioned paths kept as aliases. Moving to the canonical path now means Blurt is unaffected if those aliases are ever retired.AssemblyAITranscriberposts to/v1/transcribe;CleanupInstruction's doc comment names the same path.hasSuffix("/transcribe")on purpose: it asserts the warm-up GET is not a transcribe path, so the suffix form correctly rejects both spellings.evals/dictation-prompt/live.py'sDICTATION_URL(it does a real round trip against the same host), plus the prose inoptimize_cleanup_prompt.pyand the evals README.No behavior change beyond the path: same request shape, same response handling, and the warm-up GET still targets the host root.
This supersedes #107, which carried the same engine/test/docs change but was cut before the evals harness landed and had gone stale against
main.Do not merge until the dictation service change is deployed to production — until then
dictation.assemblyai.com/v1/transcribe404s and dictation breaks. The shipped app keeps working throughout via the unversioned alias, so there is no urgency. Live verification against prod is deferred until that deploy.How it was tested
scripts/check.shpasses (or CI will, if I'm not on a Mac) —--portableis clean end to end on Linux, includingruff/pytestover the evals changes and therelease.shself-tests. Swift build/tests/format run on CI (macos-26), which is the authority on green.