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

Problem with proxies config #674

Open
LEBsci opened this issue Jan 24, 2025 · 0 comments
Open

Problem with proxies config #674

LEBsci opened this issue Jan 24, 2025 · 0 comments

Comments

@LEBsci
Copy link

LEBsci commented Jan 24, 2025

When I use docker compose I'm getting this error and can't found a solution. For context, I already have another bot running in a different container.

chatgpt-telegram-bot-1 | Traceback (most recent call last): chatgpt-telegram-bot-1 | File "/app/bot/main.py", line 117, in <module> chatgpt-telegram-bot-1 | main() chatgpt-telegram-bot-1 | File "/app/bot/main.py", line 111, in main chatgpt-telegram-bot-1 | openai_helper = OpenAIHelper(config=openai_config, plugin_manager=plugin_manager) chatgpt-telegram-bot-1 | File "/app/bot/openai_helper.py", line 113, in init chatgpt-telegram-bot-1 | http_client = httpx.AsyncClient(proxies=config['proxy']) if 'proxy' in config else httpx.AsyncClient() chatgpt-telegram-bot-1 | TypeError: init() got an unexpected keyword argument 'proxies' chatgpt-telegram-bot-1 exited with code 0

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

1 participant