MCPcopy
hub / github.com/mudler/LocalAI / embedBackendAudioTranscriptionLiveStreamClient

Struct embedBackendAudioTranscriptionLiveStreamClient

pkg/grpc/embed.go:478–484  ·  view source on GitHub ↗

embedBackendAudioTranscriptionLiveStreamClient is the caller-facing side. It mirrors the server-side stream over the same channels.

Source from the content-addressed store, hash-verified

476// embedBackendAudioTranscriptionLiveStreamClient is the caller-facing side.
477// It mirrors the server-side stream over the same channels.
478type embedBackendAudioTranscriptionLiveStreamClient struct {
479 ctx context.Context
480 reqs chan<- *pb.TranscriptLiveRequest
481 resps <-chan *pb.TranscriptLiveResponse
482 srvDone <-chan error
483 closeOnce bool
484}
485
486func (e *embedBackendAudioTranscriptionLiveStreamClient) Send(req *pb.TranscriptLiveRequest) error {
487 select {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected