adds turbo-instruct endpoint to info page

This commit is contained in:
nai-degen
2023-09-19 21:10:29 -05:00
parent 35a6c393ed
commit 8923bb76a0
+3
View File
@@ -93,6 +93,9 @@ function cacheInfoPageHtml(baseUrl: string) {
uptime: Math.floor(process.uptime()),
endpoints: {
...(openaiKeys ? { openai: baseUrl + "/proxy/openai" } : {}),
...(openaiKeys
? { ["openai2"]: baseUrl + "/proxy/openai/turbo-instruct" }
: {}),
...(anthropicKeys ? { anthropic: baseUrl + "/proxy/anthropic" } : {}),
...(palmKeys ? { "google-palm": baseUrl + "/proxy/google-palm" } : {}),
},