minor fixups

This commit is contained in:
mudler 2023-07-06 00:03:10 +02:00
parent c4495ad8f2
commit 483fddccf9
2 changed files with 6 additions and 6 deletions

View file

@ -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
}
}