|
All checks were successful
build-and-release / build (cron) (push) Successful in 13s
build-and-release / build (users) (push) Successful in 3m41s
build-and-release / build (employees) (push) Successful in 13s
build-and-release / build (fitness-trainers) (push) Successful in 7s
build-and-release / build (gateway) (push) Successful in 6s
build-and-release / build (job-seekers) (push) Successful in 6s
build-and-release / build (makeup-artists) (push) Successful in 8s
build-and-release / build (payments) (push) Successful in 5s
build-and-release / build (graphic-designers) (push) Successful in 12s
build-and-release / build (jobs) (push) Successful in 13s
build-and-release / build (photographers) (push) Successful in 5s
build-and-release / build (ugc-content-creators) (push) Successful in 4s
build-and-release / build (social-media-managers) (push) Successful in 9s
build-and-release / build (tutors) (push) Successful in 11s
build-and-release / build (catering-services) (push) Successful in 5s
build-and-release / build (video-editors) (push) Successful in 5s
backend-integration-tests / ai-credits (push) Successful in 10s
build-and-release / build (companies) (push) Successful in 8s
build-and-release / build (customers) (push) Successful in 7s
build-and-release / build (developers) (push) Successful in 9s
Replaces the Ollama stub (always 501) with a real call to LiteLLM's
OpenAI-compatible audio/transcriptions endpoint:
POST {LITELLM_BASE_URL}/audio/transcriptions
Authorization: Bearer {LITELLM_API_KEY}
multipart: model=whisper-1, file=<audio.webm>
- LITELLM_WHISPER_MODEL env var selects the model (default: whisper-1)
- Reuses the existing LITELLM_BASE_URL / LITELLM_API_KEY vars
- Empty audio body returns 400 (not 501) with a helpful message
- LiteLLM error returns 502 with the upstream detail logged
- Network error returns 503 with a clear message
Response shape unchanged (TranscribeResponse with transcript, language,
confidence, duration_ms, stub=false).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| Dockerfile | ||