From 672d66d6d9118e5aa8eb5356bbe5ac2af1d7698e Mon Sep 17 00:00:00 2001 From: ekzyis Date: Sat, 9 Sep 2023 17:37:12 +0200 Subject: [PATCH] Fix OPENAI env vars --- prompt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prompt.sh b/prompt.sh index de60d97..68d8e6c 100644 --- a/prompt.sh +++ b/prompt.sh @@ -60,9 +60,9 @@ curl 'https://chat.openai.com/backend-api/conversation' \ -H 'authority: chat.openai.com' \ -H 'accept: text/event-stream' \ -H 'accept-language: en-US' \ - -H "authorization: Bearer $TOKEN" \ + -H "authorization: Bearer $OPENAI_TOKEN" \ -H 'content-type: application/json' \ - -H "cookie: $COOKIE" \ + -H "cookie: $OPENAI_COOKIE" \ -H 'origin: https://chat.openai.com' \ -H 'referer: https://chat.openai.com/c/3ad5849d-5a51-4b8e-8974-669c965a3896' \ -H 'sec-ch-ua: "Chromium";v="116", "Not)A;Brand";v="24", "Brave";v="116"' \