Proxy Configuration

ChatFrame allows you to configure a network proxy for all outbound communication with Large Language Model (LLM) providers. This is essential for users operating in corporate environments or behind firewalls.

Supported Proxy Types

ChatFrame supports standard proxy types via URL format:

  • HTTP Proxy (http://)
  • HTTPS Proxy (https://)
  • SOCKS Proxy (socks5://)

Configuration Steps

  1. Set Environment Variable: Configure the proxy by setting the appropriate environment variable (e.g., HTTP_PROXY, HTTPS_PROXY, or ALL_PROXY) before starting ChatFrame.
  2. Input Proxy URL: Use the full proxy URL, for example:
    socks5://127.0.0.1:7890
    
    Replace with your actual proxy address and port.
  3. Authentication (if required): If your proxy requires authentication, include the username and password in the URL:
    socks5://username:[email protected]:7890
    
  4. Restart ChatFrame: Restart the application to apply the new proxy settings.

Important Note

The proxy configuration in ChatFrame only affects the communication between the application and the external LLM APIs. It does not affect the local RAG operations, which remain entirely on your machine.