Repository navigation
Conversation
Python sidecar (omnilingual/) serving Meta Omnilingual ASR 7B, a Go adapter that talks to it, an opt-in compose profile, and a CI workflow for the sidecar image. The omnilingual-7b model is only registered when OMNILINGUAL_URL is set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Models page (/model-settings): lists models with aliases, default
badge, job counts, and an editable per-model default prompt.
- Per-model prompts: PUT /models/{id}/prompt; GET /models now returns
aliases, prompt and supports_prompt. Prompt precedence on job create:
request prompt > model prompt > server-wide default prompt.
Models that ignore prompts (omnilingual) refuse a stored prompt.
- Copy job: from the job list or detail page, opens the new-job form
prefilled (aliases resolved to the canonical model). The form gains
an Advanced section for callback, timeout and subtitle options.
- SQLite via pure-Go modernc.org/sqlite with embedded goose migrations
and sqlc-generated queries (make sqlc). New -db flag; compose mounts a
`data` volume at /var/lib/transcriber. Jobs remain in-memory.
- Dockerfile copies go.sum and pre-downloads modules.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kenlm (a dependency of omnilingual-asr) is only published as an sdist and needs CMake plus a C/C++ compiler, which python:3.12-slim lacks, so `uv sync` failed in CI. Build the venv in a separate stage with build-essential and copy only /opt/venv into the runtime image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Two commits:
1.
feat(omnilingual): Meta Omnilingual ASR sidecaromnilingual/) serving Omnilingual ASR 7B, a Go adapter, an opt-inomnilingualcompose profile and a CI workflow for its image.omnilingual-7bis only registered whenOMNILINGUAL_URLis set.2.
feat: models page, per-model prompts, copy job, SQLite/model-settings("Models" in the header;/modelsis the JSON API). Shows each model's name, ID, default badge, aliases, job counts and an editable default prompt.PUT /models/{id}/prompt.GET /modelsnow also returnsaliases,promptandsupports_prompt. When a job is created the prompt comes from, in order: the request'sprompt, then the model's prompt, then the server-wideprompt.txt. Omnilingual is marked as not supporting prompts, and the API refuses to save one for it.modernc.org/sqlitedriver, so builds without CGO still work. Migrations are embedded and applied by goose on startup; queries are generated with sqlc (make sqlc). New-dbflag; compose adds adatavolume at/var/lib/transcriber. Jobs are still kept in memory.go.sum(it previously copied onlygo.mod, which breaks once there are dependencies).Testing
go test -race ./...passes, including new tests for the model prompt store and the API (prompt order, aliases, unknown model).pnpm generate;vue-tscreports only an existing error innuxt.config.ts.🤖 Generated with Claude Code