From 9afa4570ec078aa4b1bc12de3cc019936aa75038 Mon Sep 17 00:00:00 2001 From: nai-degen <44111-khanon@users.noreply.gitgud.io> Date: Sat, 15 Apr 2023 01:11:00 -0700 Subject: [PATCH] adds repo link to prompt logging notice --- src/info-page.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/info-page.ts b/src/info-page.ts index 6c59680..fac0bc3 100644 --- a/src/info-page.ts +++ b/src/info-page.ts @@ -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);