PhoneWork/keyring.example.yaml
Yuyao Huang (Sam) b36acf65ca refactor: 将端口配置从硬编码改为从配置文件读取
将应用端口从硬编码的8000改为从config.py读取PORT配置,提高配置灵活性
更新了README.md和keyring.example.yaml以说明端口配置
同时在standalone.py中也使用配置的端口值
2026-03-29 15:39:45 +08:00

15 lines
559 B
YAML

# Server configuration
# Only used in router mode (python main.py) or standalone mode (python standalone.py)
# Default: 8000
PORT: 8000
# Root directory for all project sessions (absolute path)
# Only used in standalone mode (python standalone.py)
# In router mode (python main.py), this field is ignored
WORKING_DIR: "/path/to/working/directory"
FEISHU_APP_ID: your_feishu_app_id
FEISHU_APP_SECRET: your_feishu_app_secret
OPENAI_BASE_URL: https://api.openai.com/v1/
OPENAI_API_KEY: your_openai_api_key
OPENAI_MODEL: gpt-4
METASO_API_KEY: your_metaso_api_key