mirror of
https://github.com/mudler/LocalAI
synced 2026-05-24 09:28:23 +00:00
Adds context.Context as first parameter to the AIModel interface methods that wrap whisper-style transcription. Server-side gRPC handler now forwards the per-RPC ctx (server-streaming uses stream.Context()). Whisper, Voxtral, vibevoice-cpp, and sherpa-onnx accept the parameter; none uses it yet — the actual cancellation primitive lands in the next commit so this is pure plumbing. Assisted-by: Claude:claude-sonnet-4-6 Signed-off-by: Ettore Di Giacinto <mudler@localai.io> |
||
|---|---|---|
| .. | ||
| base | ||
| auth_test.go | ||
| backend.go | ||
| client.go | ||
| embed.go | ||
| grpc_suite_test.go | ||
| interface.go | ||
| server.go | ||