引入可配置的COMMAND_PREFIX参数,默认设置为"//"以避免与Claude Code的"/"命令冲突 修改相关文件以支持新的命令前缀,包括配置解析、路由逻辑和命令处理 更新帮助文档和提示信息以反映新的命令前缀
31 lines
858 B
YAML
31 lines
858 B
YAML
# Host client configuration example
|
|
# Copy to host_config.yaml and fill in your values
|
|
|
|
# Node identification
|
|
NODE_ID: home-pc
|
|
DISPLAY_NAME: Home PC
|
|
|
|
# Router connection
|
|
ROUTER_URL: ws://192.168.1.100:8000/ws/node
|
|
ROUTER_SECRET: your-shared-secret-for-router-host-auth
|
|
|
|
# LLM configuration (used by mailboy LLM)
|
|
OPENAI_BASE_URL: https://open.bigmodel.cn/api/paas/v4/
|
|
OPENAI_API_KEY: your_openai_api_key
|
|
OPENAI_MODEL: glm-4.7
|
|
|
|
# Local working directory (where Claude Code sessions run)
|
|
WORKING_DIR: C:/Users/yourname/projects
|
|
|
|
# Optional: 秘塔AI Search API key for web search
|
|
METASO_API_KEY: your_metaso_api_key
|
|
|
|
# Bot command prefix (default: "//")
|
|
# "//" avoids conflicts with Claude Code's own "/" commands.
|
|
# COMMAND_PREFIX: "//"
|
|
|
|
# Which Feishu users this node serves
|
|
# List of open_ids from Feishu
|
|
SERVES_USERS:
|
|
- ou_abc123def456
|
|
- ou_789ghi012jkl |