Skip to content

AutoGen HttpClient

HttpClient#

my_client.py
1
2
3
4
5
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://<>")