Skip to content

TypeError: __init__() got an unexpected keyword argument 'proxies' #494

@evaezekwem

Description

@evaezekwem

When I try to run the code to create a simple pac man game I get this error.

python run.py --task "Build a simple pacman game" --name "PAC_MAN" 
Traceback (most recent call last):
  File "/Users/Evari/Documents/Tinkering/ChatDev/run.py", line 24, in <module>
    from chatdev.chat_chain import ChatChain
  File "/Users/Evari/Documents/Tinkering/ChatDev/chatdev/chat_chain.py", line 14, in <module>
    from camel.web_spider import modal_trans
  File "/Users/Evari/Documents/Tinkering/ChatDev/camel/web_spider.py", line 18, in <module>
    client = openai.OpenAI(
  File "/Users/Evari/miniforge3/envs/ChatDev_conda_env/lib/python3.9/site-packages/openai/_client.py", line 123, in __init__
    super().__init__(
  File "/Users/Evari/miniforge3/envs/ChatDev_conda_env/lib/python3.9/site-packages/openai/_base_client.py", line 847, in __init__
    self._client = http_client or SyncHttpxClientWrapper(
  File "/Users/Evari/miniforge3/envs/ChatDev_conda_env/lib/python3.9/site-packages/openai/_base_client.py", line 745, in __init__
    super().__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'proxies'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions