adds anthropic endpoint to info page

This commit is contained in:
nai-degen 2023-05-29 12:21:39 -05:00
parent d7ddbeea54
commit dc43183353
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ function cacheInfoPageHtml(host: string) {
endpoints: { endpoints: {
kobold: host, kobold: host,
openai: host + "/proxy/openai", openai: host + "/proxy/openai",
anthropic: host + "/proxy/anthropic",
}, },
proompts: keys.reduce((acc, k) => acc + k.promptCount, 0), proompts: keys.reduce((acc, k) => acc + k.promptCount, 0),
...(config.modelRateLimit ? { proomptersNow: getUniqueIps() } : {}), ...(config.modelRateLimit ? { proomptersNow: getUniqueIps() } : {}),