Skip to content
GitHubDiscordThreads

AutoGen HttpClient

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

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

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