unexpected keyword argument 'proxies' #131

Open
opened 2025-01-27 13:41:40 -05:00 by jaysonwor · 0 comments
jaysonwor commented 2025-01-27 13:41:40 -05:00 (Migrated from github.com)

First off, I really like the concept, great work! I am trying to just get the master running on my local. It starts up okay but when I attempt to create an app it fails with this. Has anyone else run into this? Thoughts?

Error:

TypeError: Client.init() got an unexpected keyword argument 'proxies'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/redacted/workspace/DevOpsGPT/backend/app/controllers/common.py", line 12, in decorated_function
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/redacted/workspace/DevOpsGPT/backend/app/controllers/step_requirement.py", line 38, in clarify
msg, success = clarifyRequirement(requirementID, userPrompt, globalContext, appArchitecture, req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/prompt/prompt.py", line 29, in wrapper
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/prompt/prompt.py", line 41, in clarifyRequirement
return obj.clarifyRequirement(requirementID, userPrompt, globalContext, appArchitecture, req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/prompt/requirement_basic.py", line 280, in clarifyRequirement
message, total_tokens, success = chatCompletion(
^^^^^^^^^^^^^^^
File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/tools/llm.py", line 28, in chatCompletion
raise Exception("服务异常,请重试。Service exception, please try again.")
Exception: 服务异常,请重试。Service exception, please try again.

...
My environment:
-- Mac os x (14)
-- Python3 (3.14)

First off, I really like the concept, great work! I am trying to just get the master running on my local. It starts up okay but when I attempt to create an app it fails with this. Has anyone else run into this? Thoughts? Error: TypeError: Client.__init__() got an unexpected keyword argument 'proxies' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/redacted/workspace/DevOpsGPT/backend/app/controllers/common.py", line 12, in decorated_function result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/redacted/workspace/DevOpsGPT/backend/app/controllers/step_requirement.py", line 38, in clarify msg, success = clarifyRequirement(requirementID, userPrompt, globalContext, appArchitecture, req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/prompt/prompt.py", line 29, in wrapper result = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/prompt/prompt.py", line 41, in clarifyRequirement return obj.clarifyRequirement(requirementID, userPrompt, globalContext, appArchitecture, req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/prompt/requirement_basic.py", line 280, in clarifyRequirement message, total_tokens, success = chatCompletion( ^^^^^^^^^^^^^^^ File "/Users/redacted/workspace/DevOpsGPT/backend/app/pkgs/tools/llm.py", line 28, in chatCompletion raise Exception("服务异常,请重试。Service exception, please try again.") Exception: 服务异常,请重试。Service exception, please try again. ... My environment: -- Mac os x (14) -- Python3 (3.14)
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kuafuai/DevOpsGPT#131
No description provided.