mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
oops
This commit is contained in:
parent
a13d640c42
commit
b7835ad581
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func BackendMonitorEndpoint(cm *config.ConfigLoader, o *options.Option) func(c *
|
|||
config, exists := cm.GetConfig(input.Model)
|
||||
var backend string
|
||||
if exists {
|
||||
backend = config.Backend
|
||||
backend = config.Model
|
||||
} else {
|
||||
// Last ditch effort: use it raw, see if a backend happens to match.
|
||||
backend = input.Model
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue