-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
22 lines (19 loc) · 1016 Bytes
/
.env.example
File metadata and controls
22 lines (19 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# OpenAI Accounts Credentials
# Used for the fallback login flow if cookies are invalid.
OPENAI_EMAIL="your_openai_email@example.com"
OPENAI_PASSWORD="your_openai_password"
# API Protection
# Set a secret key to protect your API endpoints (Required in production)
# Clients must send this key in the 'Authorization: Bearer <KEY>' header or 'ERKUT-API-KEY' header.
ERKUT_API_KEY="sk-unofficial-secret-key"
# Browser Session (Cookies)
# Base64 encoded generic JSON array of cookies.
# 1. Install 'EditThisCookie' extension.
# 2. Log in to chatgpt.com.
# 3. Export cookies as JSON.
# 4. Convert to Base64 (e.g., using https://www.base64encode.org/ or `node -e "console.log(Buffer.from(JSON.stringify(cookjeJson)).toString('base64'))"`).
COOKIE_JSON_B64="Wm9...very...long...string..."
# Default System Prompt
# Applied to all requests unless overridden by the API request body.
# Useful for setting a global persona or instructions (e.g., "You are a helpful assistant").
SYSTEM_PROMPT="You are a helpful assistant."