Fix appendPrompt call, Openrouter compat & piper $PATH lookup - #4
Merged
Conversation
renjfk
reviewed
Jun 18, 2026
Owner
|
Could you fix the pipeline? |
When sttEndpoint points at openrouter.ai, send the JSON/base64 audio transcription request format instead of multipart upload. Extracts multipart and OpenRouter request builders and surfaces invalid-JSON responses with a clear error.
appendPrompt now expects { body: { text } }. Try the new shape
first, fall back to { text } on the legacy validation error, and
throw on any remaining appendPrompt error instead of swallowing it.
draxxris
force-pushed
the
openrouter-and-path
branch
from
June 19, 2026 02:36
8b14483 to
e99078e
Compare
Contributor
Author
|
Split the 3 functional changes into 3 separate commits. Fixed the JS lint/formatting issues in each. |
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.
e99078e
Lookup piper binary from user's path, do not assume its in ~/.local/bin/piper
12c5508
Fix appendPrompt call (TUI API change?)
89bd83f
Support Openrouter endpoint for transcription service