Change Reverse proxy name to Custom and add additionalParams
This commit is contained in:
@@ -52,7 +52,7 @@ export function getModelName(name:string){
|
||||
case "novellist damsel":
|
||||
return "NovelList Damsel"
|
||||
case 'reverse_proxy':
|
||||
return "Reverse Proxy"
|
||||
return "Custom (OpenAI-compatible)"
|
||||
case 'openrouter':
|
||||
return "OpenRouter"
|
||||
case 'gptvi4_1106':
|
||||
@@ -144,6 +144,12 @@ export function getModelShortName(model:string){
|
||||
return split[split.length-1]
|
||||
}
|
||||
}
|
||||
if(model.startsWith('reverse_proxy')){
|
||||
return 'Custom'
|
||||
}
|
||||
if(model.startsWith('oaicomp')){
|
||||
return 'Custom'
|
||||
}
|
||||
return getModelName(model)
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user