You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A network error occurred while running the example #117
Thanks for reporting this. The missing proxy support described here is now addressed by #382, merged on July 7, 2026.
createLanguageModel(process.env) now honors HTTP_PROXY, HTTPS_PROXY, and ALL_PROXY (including lowercase variants), together with NO_PROXY. Requests are routed through an undici dispatcher supported by Node's native fetch.
To use the fix, update TypeChat and install the optional proxy dependency:
npm install typechat@latest undici
Configure the appropriate standard proxy variable in your environment or .env file. For an HTTPS model endpoint, for example:
HTTPS_PROXY=http://127.0.0.1:7890
Replace that address with your actual proxy. If you call createOpenAILanguageModel or createAzureOpenAILanguageModel directly rather than using createLanguageModel, pass the proxy explicitly through the options argument as { proxyUrl }.
Closing as completed by #382. This addresses TypeChat ignoring proxy settings; it does not rule out separate VPN or proxy-connectivity problems, and we have not re-tested the original VPN setup. If the timeout persists with the updated version and a working proxy, please comment with the details so we can investigate further.
Activity
[-]There was a network error running example[/-][+]A network error occurred while running the example[/+]robgruen commentedon Oct 12, 2026
Thanks for reporting this. The missing proxy support described here is now addressed by #382, merged on July 7, 2026.
createLanguageModel(process.env)now honorsHTTP_PROXY,HTTPS_PROXY, andALL_PROXY(including lowercase variants), together withNO_PROXY. Requests are routed through an undici dispatcher supported by Node's nativefetch.To use the fix, update TypeChat and install the optional proxy dependency:
Configure the appropriate standard proxy variable in your environment or
.envfile. For an HTTPS model endpoint, for example:HTTPS_PROXY=http://127.0.0.1:7890Replace that address with your actual proxy. If you call
createOpenAILanguageModelorcreateAzureOpenAILanguageModeldirectly rather than usingcreateLanguageModel, pass the proxy explicitly through the options argument as{ proxyUrl }.See the proxy setup documentation.
Closing as completed by #382. This addresses TypeChat ignoring proxy settings; it does not rule out separate VPN or proxy-connectivity problems, and we have not re-tested the original VPN setup. If the timeout persists with the updated version and a working proxy, please comment with the details so we can investigate further.