adds repo link to prompt logging notice

This commit is contained in:
nai-degen 2023-04-15 01:11:00 -07:00
parent e4495798ee
commit 9afa4570ec
1 changed files with 4 additions and 4 deletions

View File

@ -87,14 +87,14 @@ function buildInfoPageHeader(converter: showdown.Converter) {
let infoBody = genericInfoPage;
if (config.promptLogging) {
infoBody += `\n## Prompt logging is enabled!
The server operator has enabled prompt logging. The prompts you send and the AI responses you receive may be saved.
The server operator has enabled prompt logging. The prompts you send to this proxy and the AI responses you receive may be saved.
Logs are anonymous and do not contain IP addresses or timestamps.
Logs are anonymous and do not contain IP addresses or timestamps. [You can see the type of data logged here, along with the rest of the code.](https://gitgud.io/khanon/oai-reverse-proxy/-/blob/main/src/prompt-logging/index.ts).
**If you are uncomfortable with the above, don't send prompts to this proxy!**`;
**If you are uncomfortable with this, don't send prompts to this proxy!**`;
}
if (customGreeting) {
infoBody += `\n## Server greeting\n
infoBody += `\n## Server Greeting\n
${customGreeting}`;
}
return converter.makeHtml(infoBody);