diff --git a/README.md b/README.md index a4ec3d7..2a82d51 100644 --- a/README.md +++ b/README.md @@ -105,10 +105,10 @@ Check out the [Budget Manual](https://github.com/n3d1117/chatgpt-telegram-bot/di | `FUNCTIONS_MAX_CONSECUTIVE_CALLS` | Maximum number of back-to-back function calls to be made by the model in a single response before displaying a user-facing message | `10` | | `PLUGINS` | List of plugins to enable (see below for a full list), e.g: `PLUGINS=wolfram,weather` | `-` | | `SHOW_PLUGINS_USED` | Whether to show which plugins were used for a response | `false` | -| `WOLFRAM_APP_ID` | Wolfram Alpha APP ID (required for the `wolfram` plugin, you can get one [here](https://products.wolframalpha.com/simple-api/documentation)) | `false` | +| `WOLFRAM_APP_ID` | Wolfram Alpha APP ID (required for the `wolfram` plugin, you can get one [here](https://products.wolframalpha.com/simple-api/documentation)) | `-` | #### Available plugins -| Name | Description | Requires API key | +| Name | Description | Required API key | |--------------|---------------------------------------------------------------------------------------------------------------------|------------------| | `weather` | Daily weather and 7-day forecast for any location (powered by [Open-Meteo](https://open-meteo.com)) | `-` | | `wolfram` | WolframAlpha queries (powered by [WolframAlpha](https://www.wolframalpha.com)) | `WOLFRAM_APP_ID` | diff --git a/bot/telegram_bot.py b/bot/telegram_bot.py index 3d94bbc..11ee190 100644 --- a/bot/telegram_bot.py +++ b/bot/telegram_bot.py @@ -436,7 +436,8 @@ class ChatGPTTelegramBot: sent_message = await update.effective_message.reply_text( message_thread_id=get_thread_id(update), reply_to_message_id=get_reply_to_message_id(self.config, update), - text=content + text=content, + disable_web_page_preview=True ) except: continue