Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy url #30

Open
urtaevS opened this issue Apr 25, 2024 · 1 comment
Open

Proxy url #30

urtaevS opened this issue Apr 25, 2024 · 1 comment

Comments

@urtaevS
Copy link

urtaevS commented Apr 25, 2024

In what format should I add an url proxy?
And where i can find .env example file?

@s-nagaev
Copy link
Owner

the .env file may contain any of the supported environment variables. The syntax is simple:

# Env file example. Just name it `.env` and put it to the project root dir.
 
TELEGRAM_BOT_TOKEN="<your token here>"
MAX_HISTORY_TOKENS=6000
MAX_CONVERSATION_AGE_MINUTES=60
USERS_WHITELIST="1234,5678,@foo,@bar"
GROUP_ADMINS="<your tg name>"
PROXY=socks5://127.0.0.1:7173  # this is what you was asking about :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants