Skip to content

Problem with proxies config #674

@LEBsci

Description

@LEBsci

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions