Skip to content

Commit

Permalink
Merge pull request #148 from F33RNI/next
Browse files Browse the repository at this point in the history
lmao_chatgpt update
  • Loading branch information
F33RNI authored Mar 10, 2024
2 parents 7efce66 + 80ec99f commit e83f58c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 20 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 🤖 GPT-Telegramus v5

| ![GPT-Telegramus logo](logo.png) | <h3>The best Telegram bot for ChatGPT, Microsoft Copilot (aka Bing AI, aka Sidney, aka EdgeGPT), Microsoft Copilot Designer (aka BingImageCreator) and Gemini with stream writing, requests with images (currently, for Gemini only), multiple languages, admin control, data logging and more!</h3> |
| -------------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| ![GPT-Telegramus logo](logo.png) | <h3>The best free Telegram bot for ChatGPT, Microsoft Copilot (aka Bing AI, aka Sidney, aka EdgeGPT), Microsoft Copilot Designer (aka BingImageCreator) and Gemini with stream writing, requests with images (currently, for Gemini only), multiple languages, admin control, data logging and more!</h3> |
| -------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |

<div style="width:100%;text-align:center;">
<p align="center">
Expand All @@ -21,7 +21,7 @@

----------

## 🚧 GPT-Telegramus is under heavy development
## 🚧 GPT-Telegramus is under development

> 😔 Currently, GPT-Telegramus doesn't have paid ChatGPT and DALL-E support
>
Expand Down
2 changes: 1 addition & 1 deletion _version.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

from packaging import version

__version__ = "5.0.1"
__version__ = "5.0.2"


def version_major() -> int:
Expand Down
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 e83f58c

Please sign in to comment.