comms

set of functions and classes used in the context of networking and communication

Proxy and VPN


source

clean_no_proxy_12vpn

def clean_no_proxy_12vpn():

Remove tokens like [fec0::], [fc00::], [fe80::]

12VPN sets NO_PROXY to include tokens which causes problems with some libraries (e.g. openai, …) that don’t handle them correctly. This function cleans the NO_PROXY environment variable by removing such tokens.