mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-14 04:58:08 +00:00
fix: use bytes in gRPC proto instead of strings (#813)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
committed by
GitHub
parent
0af0df7423
commit
b96e30e66c
@ -14,3 +14,7 @@ type LLM interface {
|
||||
AudioTranscription(*pb.TranscriptRequest) (api.Result, error)
|
||||
TTS(*pb.TTSRequest) error
|
||||
}
|
||||
|
||||
func newReply(s string) *pb.Reply {
|
||||
return &pb.Reply{Message: []byte(s)}
|
||||
}
|
||||
|
Reference in New Issue
Block a user