Skip to content

TypeError: Client.__init__() got an unexpected keyword argument 'proxies' #5

Description

@AhmadHammad21

I copied the repo, set my env variables.

And run docker compose up and got this error.

Traceback (most recent call last): File "/home/ahammad/Interviewer/app.py", line 71, in <module> main() File "/home/ahammad/Interviewer/app.py", line 63, in main config, llm, tts, stt = initialize_services() ^^^^^^^^^^^^^^^^^^^^^ File "/home/ahammad/Interviewer/app.py", line 21, in initialize_services llm = LLMManager(config, prompts) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ahammad/Interviewer/api/llm.py", line 85, in __init__ self.client = OpenAI(api_key=config.llm.key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ahammad/Interviewer/venv/lib/python3.12/site-packages/openai/_client.py", line 123, in __init__ super().__init__( File "/home/ahammad/Interviewer/venv/lib/python3.12/site-packages/openai/_base_client.py", line 846, in __init__ self._client = http_client or SyncHttpxClientWrapper( ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ahammad/Interviewer/venv/lib/python3.12/site-packages/openai/_base_client.py", line 744, in __init__ super().__init__(**kwargs) TypeError: Client.__init__() got an unexpected keyword argument 'proxies'

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