LocalAI/core/backend
Ettore Di Giacinto 9fac275fd3 refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths
Replaces remaining context.Background() sites in core/backend with the
caller's ctx. After this commit, every core/backend/*.go entry point
threads the request ctx end-to-end to the gRPC client.

Assisted-by: Claude:claude-haiku-4-5
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-05-07 16:08:17 +00:00
..
audio_transform.go refactor(audio): propagate request ctx into TTS, sound-gen, audio-transform 2026-05-07 16:00:42 +00:00
backend_suite_test.go feat: extract output with regexes from LLMs (#3491) 2024-09-13 13:27:36 +02:00
detection.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
diarization.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
diarization_test.go feat(api): add /v1/audio/diarization endpoint with sherpa-onnx + vibevoice.cpp (#9654) 2026-05-05 15:10:13 +02:00
embeddings.go feat(ui): Per model backend logs and various fixes (#9028) 2026-03-18 08:31:26 +01:00
face_analyze.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
face_embed.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
face_verify.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
image.go feat(ui): Per model backend logs and various fixes (#9028) 2026-03-18 08:31:26 +01:00
llm.go Respect explicit reasoning config during GGUF thinking probe (#9463) 2026-04-21 21:53:10 +02:00
llm_probe_test.go Respect explicit reasoning config during GGUF thinking probe (#9463) 2026-04-21 21:53:10 +02:00
llm_test.go feat(autoparser): prefer chat deltas from backends when emitted (#9224) 2026-04-04 12:12:08 +02:00
options.go fix(backend): resolve relative draft_model paths against the models dir (#9680) 2026-05-06 00:58:38 +02:00
options_internal_test.go feat(vllm): expose AsyncEngineArgs via generic engine_args YAML map (#9563) 2026-04-29 00:49:28 +02:00
rerank.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
soundgeneration.go refactor(audio): propagate request ctx into TTS, sound-gen, audio-transform 2026-05-07 16:00:42 +00:00
stores.go feat: add biometrics UI (#9524) 2026-04-24 08:50:34 +02:00
token_metrics.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
tokenize.go feat: add distributed mode (#9124) 2026-03-30 00:47:27 +02:00
transcript.go refactor(transcription): propagate request ctx through ModelTranscription* 2026-05-07 15:35:48 +00:00
tts.go refactor(audio): propagate request ctx into TTS, sound-gen, audio-transform 2026-05-07 16:00:42 +00:00
vad.go feat: add distributed mode (#9124) 2026-03-30 00:47:27 +02:00
video.go feat(ui): Per model backend logs and various fixes (#9028) 2026-03-18 08:31:26 +01:00
voice_analyze.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
voice_embed.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00
voice_verify.go refactor(backend): propagate request ctx into biometric, detection, rerank, diarization paths 2026-05-07 16:08:17 +00:00