mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-23 20:14:59 +00:00
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:
parent
69a3b22fa1
commit
607fd066f0
3 changed files with 138 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue