Skip to content

Commit ef8b6f4

Browse files
committed
docs: update README to include new AI_GATEWAY and OPENAI_BASE_URL vars
1 parent 0981aa7 commit ef8b6f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ Inside this repo, run the command `npm run deploy` and follow the steps to conne
3030
You need to create a personal telegram bot and connect it to your worker.
3131
1. First of all you need to create a bot with [BotFather](https://t.me/BotFather).
3232
2. 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, ...)

0 commit comments

Comments
 (0)