fixes infopage regression when CHECK_KEYS=false
This commit is contained in:
parent
71882b18ae
commit
32605fff53
|
@ -137,6 +137,9 @@ function getOpenAIInfo() {
|
|||
} else {
|
||||
info.status = "Key checking is disabled." as any;
|
||||
info.turbo = { activeKeys: keys.filter((k) => !k.isDisabled).length };
|
||||
info.gpt4 = {
|
||||
activeKeys: keys.filter((k) => !k.isDisabled && k.isGpt4).length,
|
||||
};
|
||||
}
|
||||
|
||||
if (config.queueMode !== "none") {
|
||||
|
|
Loading…
Reference in New Issue