Fix golines for vivgrid case
This commit is contained in:
parent
a2f63e4207
commit
e6f5467711
1 changed files with 2 additions and 1 deletions
|
|
@ -363,7 +363,8 @@ func normalizeModel(model, apiBase string) string {
|
||||||
|
|
||||||
prefix := strings.ToLower(before)
|
prefix := strings.ToLower(before)
|
||||||
switch prefix {
|
switch prefix {
|
||||||
case "litellm", "moonshot", "nvidia", "groq", "ollama", "deepseek", "google", "openrouter", "zhipu", "mistral", "vivgrid":
|
case "litellm", "moonshot", "nvidia", "groq", "ollama", "deepseek", "google",
|
||||||
|
"openrouter", "zhipu", "mistral", "vivgrid":
|
||||||
return after
|
return after
|
||||||
default:
|
default:
|
||||||
return model
|
return model
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue