mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-25 04:54:59 +00:00
minor fixups
This commit is contained in:
parent
c4495ad8f2
commit
483fddccf9
2 changed files with 6 additions and 6 deletions
|
@ -281,7 +281,7 @@ func updateConfig(config *Config, input *OpenAIRequest) {
|
|||
n, exists := fnc["name"]
|
||||
if exists {
|
||||
nn, e := n.(string)
|
||||
if !e {
|
||||
if e {
|
||||
name = nn
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue