From be5a9b90cd05a8fda2b76faca19dd25803f056b4 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Thu, 7 May 2026 15:42:17 +0000 Subject: [PATCH] fix(cli): pass ctx to backend.ModelTranscription Follow-up to e65d3e1f which threaded ctx through ModelTranscription but missed the CLI caller. CLI commands have no request-scoped ctx, so context.Background() is correct here. Assisted-by: Claude:claude-haiku-4-5 Signed-off-by: Ettore Di Giacinto --- core/cli/transcript.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cli/transcript.go b/core/cli/transcript.go index d62beadf0..06764f4dd 100644 --- a/core/cli/transcript.go +++ b/core/cli/transcript.go @@ -71,7 +71,7 @@ func (t *TranscriptCMD) Run(ctx *cliContext.Context) error { } }() - tr, err := backend.ModelTranscription(t.Filename, t.Language, t.Translate, t.Diarize, t.Prompt, ml, c, opts) + tr, err := backend.ModelTranscription(context.Background(), t.Filename, t.Language, t.Translate, t.Diarize, t.Prompt, ml, c, opts) if err != nil { return err }