docs: add upage usage instructions document

This commit is contained in:
LIlGG
2025-09-28 15:26:44 +08:00
parent f4d6e383ce
commit e6747664c2
17 changed files with 720 additions and 412 deletions

View File

@@ -93,7 +93,7 @@ PERPLEXITY_API_KEY=
# {"region": "us-east-1", "accessKeyId": "yourAccessKeyId", "secretAccessKey": "yourSecretAccessKey", "sessionToken": "yourSessionToken"}
AWS_BEDROCK_CONFIG=
# 是否开启文件日志
# Whether to enable file logging
USAGE_LOG_FILE=false
# Include this environment variable if you want more logging for debugging locally
LOG_LEVEL=debug
@@ -109,34 +109,34 @@ WEATHER_API_KEY=
# Default LLM provider to use (e.g.,OpenAILike,OpenAI, Anthropic, Mistral)
LLM_DEFAULT_PROVIDER=
# 生成页面所使用的 MODEL应该与 LLM_DEFAULT_PROVIDER 相对应)
# The MODEL used to generate the page (should correspond to LLM_DEFAULT_PROVIDER)
LLM_DEFAULT_MODEL=
# 用于辅助页面生成所使用的 MODEL例如总结和预分析。应该与 LLM_DEFAULT_PROVIDER 相对应)
# Used for the MODEL assisting page generation, such as summary and pre-analysis. (Should correspond to LLM_DEFAULT_PROVIDER.)
LLM_MINOR_MODEL=
# Comma-separated list of enabled providers (empty means all providers)
# Example: OpenAILike,OpenAI,Anthropic,Mistral
LLM_ENABLED_PROVIDERS=
# Logto 集成所需环境变量
# Logto 地址
LOGTO_ENDPOINT=
# Logto 应用 ID
LOGTO_APP_ID=
# Logto 应用密钥
LOGTO_APP_SECRET=
# 应用基础 URL根据实际部署环境修改
LOGTO_BASE_URL=http://localhost:5173
# 随机任意的 36 位字符串,用于加密 Logto 的 cookie。
LOGTO_COOKIE_SECRET=
# 是否在开发环境中启用 Logto 认证,设置为 false 则在开发环境不强制认证
# Logto integration required environment variables
# Whether to enable Logto authentication
LOGTO_ENABLE=false
# 运行环境,与 NODE_ENV 有所不同, NODE_ENV 在打包时就已确定,而此变量用于某些功能在不同环境下的开放
# Logto Address
LOGTO_ENDPOINT=
# Logto Application ID
LOGTO_APP_ID=
# Logto Application secret
LOGTO_APP_SECRET=
# Application base URL, modify according to the actual deployment environment
LOGTO_BASE_URL=http://localhost:5173
# A random 36-character string used for encrypting Logto cookies.
LOGTO_COOKIE_SECRET=
# Runtime environment, which differs from NODE_ENV. NODE_ENV is determined at build time, whereas this variable is used to enable certain features in different environments.
# development | production | test
OPERATING_ENV=production
# 资源文件存储位置
# Resource file storage location
STORAGE_DIR=/public/uploads
# 附件上传的最大大小
# Maximum size for attachment upload
MAX_UPLOAD_SIZE_MB=5