Skip to content

chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.__init__() got an unexpected keyword argument 'proxies' #5202

Closed Answered by dosubot bot
kuangvic asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @kuangvic, I'm here to help you with any bugs, questions, or contributions you have. Let's work on this together!

The error you're encountering, "TypeError: Client.init() got an unexpected keyword argument 'proxies'", is indeed related to a version issue with the httpx library. A similar issue was reported, and the solution was to downgrade the httpx package to version 0.27.2. You can do this by running the following command:

pip install httpx==0.27.2

This should resolve the error you're experiencing with the proxies argument in the httpx.Client initialization [1][2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | I…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kuangvic
Comment options

Answer selected by kuangvic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant