LocalAI/pkg/grpc
Ettore Di Giacinto 7f06954425
fix(model-loading): keep track of open GRPC Clients (#3377)
Due to a previous refactor we moved the client constructor tight to the
model address, however that was just a string which we would use to
build the client each time.

With this change we make the loader to return a *Model which carries a
constructor for the client and stores the client on the first
connection.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2024-08-25 14:36:09 +02:00
..
base feat: elevenlabs sound-generation api (#3355) 2024-08-24 00:20:28 +00:00
backend.go fix(model-loading): keep track of open GRPC Clients (#3377) 2024-08-25 14:36:09 +02:00
client.go fix(model-loading): keep track of open GRPC Clients (#3377) 2024-08-25 14:36:09 +02:00
embed.go feat: elevenlabs sound-generation api (#3355) 2024-08-24 00:20:28 +00:00
interface.go feat: elevenlabs sound-generation api (#3355) 2024-08-24 00:20:28 +00:00
server.go feat: elevenlabs sound-generation api (#3355) 2024-08-24 00:20:28 +00:00