chore(model-loader): increase test coverage of model loader (#3433)

chore(model-loader): increase coverage of model loader

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-08-30 15:20:39 +02:00 committed by GitHub
parent 69a3b22fa1
commit 607fd066f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 138 additions and 5 deletions

View file

@ -23,7 +23,6 @@ func (m *Model) GRPC(parallel bool, wd *WatchDog) grpc.Backend {
enableWD = true
}
client := grpc.NewClient(m.address, parallel, wd, enableWD)
m.client = client
return client
m.client = grpc.NewClient(m.address, parallel, wd, enableWD)
return m.client
}