Skip to content

Commit

Permalink
feat: update lmao chatgpt config to 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
F33RNI committed Mar 10, 2024
1 parent e06d685 commit ef930ad
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions module_configs/lmao_chatgpt.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,45 @@
"__comment01__": "Original config: <https://github.com/F33RNI/LlM-Api-Open/blob/main/config.json>",

"__comment02__": "File for loading and saving cookies. Install cookie editor extension, for example:",
"__comment03__": "https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm",
"__comment04__": "Go to https://chat.openai.com/ and ask ChatGPT about something",
"__comment03__": "<https://chrome.google.com/webstore/detail/cookie-editor/hlkenndednhfkekhgcdicdfddnkalmdm>",
"__comment04__": "Go to <https://chat.openai.com/> and ask ChatGPT about something",
"__comment05__": "Open the extension, click Export on the bottom right, then Export as JSON",
"__comment06__": "(This saves your cookies to clipboard). Create a new .json file and paste cookies into it",
"__comment07__": "save file and specify path to it here. File also must have write permissions",
"cookies_file": "ChatGPT_cookies.json",

"__comment08__": "Set to true to enable proxy",
"__comment08__": "Path to browser executable or empty to auto-detect (ex. /usr/bin/google-chrome-stable)",
"browser_executable_path": "",

"__comment09__": "Major version of browser to pass as version_main argument or null to auto-detect (ex. 122)",
"version_main_manual": null,

"__comment10__": "Path to driver executable to pass as driver_executable_path argument or empty for auto",
"__comment11__": "It's recommended ot leave this empty",
"driver_executable_path": "",

"__comment12__": "Set to true to enable proxy",
"proxy_enabled": false,

"__comment09__": "Proxy host (ip) as string",
"__comment13__": "Proxy host (ip) as string",
"proxy_host": "123.45.67.89",

"__comment10__": "Proxy port as integer",
"__comment14__": "Proxy port as integer",
"proxy_port": 8080,

"__comment11__": "Proxy username or empty",
"__comment15__": "Proxy username or empty",
"proxy_user": "",

"__comment12__": "Proxy password or empty",
"__comment16__": "Proxy password or empty",
"proxy_password": "",

"__comment13__": "ChatGPT Web page address",
"__comment17__": "ChatGPT Web page address",
"base_url": "https://chat.openai.com/",

"__comment14__": "Start browser in headless mode (without GUI)",
"__comment18__": "Start browser in headless mode (without GUI)",
"headless": true,

"__comment15__": "Chrome arguments",
"__comment19__": "Chrome arguments",
"chrome_options": [
"--disable-infobars",
"--ignore-ssl-errors=yes",
Expand All @@ -43,19 +53,19 @@
"--window-size=1920x960"
],

"__comment16__": "--headless= argument. Leave empty to use default value",
"__comment20__": "--headless= argument. Leave empty to use default value",
"headless_mode": "old",

"__comment17__": "Time (s) for automatically refresh page if no new prompts or responses (to update session)",
"__comment18__": "Set to 0 to disable auto-refresher",
"__comment21__": "Time (s) for automatically refresh page if no new prompts or responses (to update session)",
"__comment22__": "Set to 0 to disable auto-refresher",
"auto_refresh_interval": 120,

"__comment19__": "User agent to prevent detection of headless chrome. Leave empty to disable it",
"__comment23__": "User agent to prevent detection of headless chrome. Leave empty to disable it",
"user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36",

"__comment20__": "Response timeout (in seconds)",
"__comment24__": "Response timeout (in seconds)",
"timeout_seconds": 120,

"__comment21__": "How often each user can send requests to this module (specify 0 to remove the restriction)",
"__comment25__": "How often each user can send requests to this module (specify 0 to remove the restriction)",
"user_cooldown_seconds": 0
}

0 comments on commit ef930ad

Please sign in to comment.