File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,9 @@ Inside this repo, run the command `npm run deploy` and follow the steps to conne
3030You need to create a personal telegram bot and connect it to your worker.
31311 . First of all you need to create a bot with [ BotFather] ( https://t.me/BotFather ) .
32322 . Go to _ Cloudflare > Workers & Pages > Your Worker > Settings > Variables > Add Encrypted Environment Variables_
33- - ` OPENAI_API_KEY ` : (optional) set the OpenAI API KEY. If available GPT will be used, otherwise Llama3.
33+ - ` AI_GATEWAY ` : (optional) set the Cloudflare AI gateway ID.
34+ - ` OPENAI_API_KEY ` : (optional) set the OpenAI API KEY. If available GPT will be used, otherwise Llama4.
35+ - ` OPENAI_BASE_URL ` : (optional) set a custom OpenAI compatible BASE URL. If available it will be used, otherwise the openai default one.
3436 - ` TELEGRAM_BOT_API_KEY ` : (mandatory) set the API KEY of the telegram bot.
3537 - ` TELEGRAM_CHAT_ID ` : (mandatory) set your Chat ID (You can find out easily with [ My ID Bot] ( https://t.me/my_id_bot ) ).
3638 - ` TZ ` : (optional) set the correct time zone (e.g. Europe/Rome, Europe/London, ...)
You can’t perform that action at this time.
0 commit comments