.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in .env.example)
DATABASE_TYPE
数据库配置
MYSQL_HOST
MYSQL_PORT
MYSQL_USER
MYSQL_PASSWORD
secret
MYSQL_DATABASE
API_KEYS
secret
ALLOWED_TOKENS
secret
AUTH_TOKEN
secret
VERTEX_API_KEYS
secret
For Vertex AI Platform API Keys
VERTEX_EXPRESS_BASE_URL
For Vertex AI Platform Express API Base URL
TEST_MODEL
THINKING_MODELS
THINKING_BUDGET_MAP
IMAGE_MODELS
SEARCH_MODELS
FILTERED_MODELS
URL_CONTEXT_ENABLED
是否启用网址上下文,默认启用
URL_CONTEXT_MODELS
TOOLS_CODE_EXECUTION_ENABLED
brew install flyctl && fly launch --from https://github.com/snailyp/gemini-balance
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/snailyp/gemini-balance
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/snailyp/gemini-balance