FoxyChatFoxyChat

Configuration

Customize FoxyChat to suit your needs

FoxyChat Configuration Guide

This document explains how to configure FoxyChat after installation to connect with various AI providers and customize your experience.

Setting Up AI Providers

FoxyChat supports multiple AI providers. You can configure one or more of the following:

OpenAI

  1. Create an account at OpenAI
  2. Generate an API key from your account dashboard
  3. In FoxyChat, go to Settings > AI Providers > OpenAI
  4. Enter your API key and save

OpenRouter

  1. Create an account at OpenRouter
  2. Generate an API key from your account dashboard
  3. In FoxyChat, go to Settings > AI Providers > OpenRouter
  4. Enter your API key and save

Application Settings

General Settings

Access general settings by navigating to Settings > General.

SettingDescriptionDefault
ThemeChoose between Light, Dark, or SystemSystem
LanguageSet the application languageEnglish
StartupLaunch on system startupDisabled
NotificationsEnable/disable notificationsEnabled

Chat Settings

Configure your chat experience in Settings > Chat.

SettingDescriptionDefault
Message HistoryNumber of messages to keep in history100
Auto-save ChatsAutomatically save chat sessionsEnabled
Chat BackupEnable cloud backup of chatsDisabled
Code HighlightingSyntax highlighting for code blocksEnabled

Advanced Settings

For advanced users, additional settings are available in Settings > Advanced.

SettingDescriptionDefault
ProxyConfigure proxy settingsDisabled
Debug ModeEnable verbose loggingDisabled
Custom ModelsAdd custom AI model endpointsNone
API TimeoutSet timeout for API requests (in seconds)30

Configuration Files

FoxyChat stores configuration in the following locations:

  • Windows: %APPDATA%\FoxyChat\config.json
  • macOS: ~/Library/Application Support/FoxyChat/config.json
  • Linux: ~/.config/FoxyChat/config.json

Manual Configuration

Advanced users can edit the configuration files directly. The structure is as follows:

{
  "providers": {
    "openai": {
      "apiKey": "your-api-key",
      "defaultModel": "gpt-4"
    },
    "openrouter": {
      "apiKey": "your-api-key",
      "defaultModel": "anthropic/claude-3-haiku"
    }
  },
  "settings": {
    "general": {
      "theme": "dark",
      "language": "en",
      "startupLaunch": false,
      "notifications": true
    },
    "chat": {
      "messageHistory": 100,
      "autoSave": true,
      "cloudBackup": false,
      "codeHighlighting": true
    },
    "advanced": {
      "proxy": {
        "enabled": false,
        "host": "",
        "port": 0
      },
      "debugMode": false,
      "apiTimeout": 30
    }
  }
}

Environment Variables

For development or deployment in controlled environments, FoxyChat supports the following environment variables:

VariableDescription
FOXYCHAT_OPENAI_API_KEYOpenAI API key
FoxyCHAT_OPENROUTER_API_KEYOpenRouter API key
FoxyCHAT_PROXY_HOSTProxy host
FoxyCHAT_PROXY_PORTProxy port
FoxyCHAT_DEBUGEnable debug mode (set to "true")

Next Steps

After configuring your application, you might want to:

  1. Learn about the user interface
  2. Explore advanced features
  3. Understand keyboard shortcuts

On this page