Skip to content

Environment Variables

sigoden edited this page Mar 19, 2024 · 21 revisions

AIChat supports the following environment variables:

  • AICHAT_CONFIG_DIR: specify the configuration directory
  • AICHAT_ROLES_FILE: custom the roles.yaml file path
  • AICHAT_LIGHT_THEME: use light theme
  • HTTPS_RPOXY/ALL_PROXY: set proxy server
  • NO_COLOR: disable syntax highlighting
  • {prefix}_API_KEY: set the API key for a client. The prefix is the client's name or type. e.g. OPENAI_API_KEY, GEMINI_API_KEY.
Clone this wiki locally