-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsyncClient.__init__() got an unexpected keyword argument 'proxies' #1190
Comments
I've been getting the same issue today on new web app deployments. Have Microsoft updated web apps again? |
@aphafzal we deployed using azure data studio, (foundry) dont have a repository, how did you update the openai dependency in requirements,txt to 1.55.3 and redeploy, I would need to do that using the kudu console, withuot a repository. Also the version I have is newer 1.6.1, but I am still getting this error. really frustrating that the off the shelf solution of microsoft is buggy. |
@MehmetStead , I also had a deployment from azure data studio, had to do the following to get it going:
|
I am using Meta-Llama-3.1-70b-Instruct and still get the same error |
@ragemnky thanks so much but I found a better way. just fork the repository. Go to your app service, deployment center, disconnect the external git source, and add your own forked repository as the new source. Make sure to select "app service build service" as deployment provider, that creates a web hook in your repository, now when you push, the app will be deployed automatically to your app service, great, no need for a deployment pipeline, or github workflow, or setting any environment variables. You can maintain the code from your own repository, so it really is a click ops solution that works. I am impressed |
Hi everyone, I also deployed my app using Azure Data Studio (Foundry) and have tried several solutions, but I’m still facing the same error: I added the requirements.txt file to the /home/site/wwwroot/ directory and installed the dependencies correctly. Does anyone have any additional suggestions for what else I can try? |
Same issue here. I am using openai 1.9.0 and do now want to downgrade to 1.55.3. |
@vleon-align You have to update python openai dependency to 1.55.3 in requirements and commit |
@ajallooeian |
You are not downgrading check openai releases, the numbering is weird 1.55.3 is higher |
same issue, upgrading to 1.55.3 worked |
Thanks a lot @MehmetStead I changed to 1.55.3 and then commit and it works! |
Fixed with #1195 |
Hi @MehmetStead this was really helpful, after all workaround I find working. Thanks for the support. |
Updating |
I've randomly started getting this error from miday yesterday, anyone else facing this issue?
##full error##
Error
There was an error generating a response. Chat history can't be saved at this time. AsyncClient.init() got an unexpected keyword argument 'proxies'
Fix: updating Openai to 1.55.3 in the requirements file fixed the issue.
The text was updated successfully, but these errors were encountered: