HttpClient


import httpx

class MyHttpClient(httpx.Client):
    def __deepcopy__(self, dummy):
        return self
    

AutoGen LLM Config

Now we can add our proxy config in our client, which will resolve connection issue.

"http_client": MyHttpClient(verify=False, proxy="http://<>")