hyperchat/.env.example

51 lines
1.5 KiB
Plaintext

# HyperChat Environment Configuration
# Copy this file to .env and modify as needed
#
# Priority order (low to high):
# 1. Default values (lowest)
# 2. System environment variables
# 3. Global ~/.hyperchat/.env
# 4. Workspace ./.hyperchat/.env (highest)
# ================================
# Environment Settings
# ================================
NODE_ENV=development
HyperChat_MY_ENV=dev
# ================================
# Path Configuration
# ================================
# Custom global application data directory (optional)
# If not set, defaults to ~/Documents/HyperChat
# HyperChat_AppDataDir=/custom/path/to/hyperchat
# ================================
# Service Configuration
# ================================
HyperChat_HTTP_PORT=16100
HyperChat_Web_Password=123456
# ================================
# Interface Configuration
# ================================
# HyperChat_Language=zh
# ================================
# AI API Configuration (Optional)
# ================================
# These can be managed via workspace configuration or app settings
# Environment variables have highest priority and will override app settings
#
# Required for direct AI usage without app configuration:
# HyperChat_API_KEY=your_api_key_here
# HyperChat_API_URL=https://api.openai.com/v1
#
# Optional (will use defaults if not specified):
# HyperChat_AI_Provider=openai
# HyperChat_AI_Model=gpt-4
# ================================
# Development Settings
# ================================
LOG_LEVEL=info