From 4ea15d461221e5964442f2900ff5c2c0fb778869 Mon Sep 17 00:00:00 2001 From: "Yuyao Huang (Sam)" Date: Sun, 29 Mar 2026 15:33:13 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E4=B8=BB=E6=9C=BA?= =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF=E9=85=8D=E7=BD=AE=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=B9=B6=E6=9B=B4=E6=96=B0README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加host_config.example.yaml作为配置模板 在README中补充配置说明,指导用户复制模板文件 --- README.md | 6 ++++++ host_config.example.yaml | 27 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 host_config.example.yaml diff --git a/README.md b/README.md index 4f5c468..5ad6ea4 100644 --- a/README.md +++ b/README.md @@ -161,6 +161,12 @@ ROUTER_SECRET: your-shared-secret-for-router-host-auth ### Host Client Configuration (for multi-host mode) +Copy and fill in credentials: + +```bash +cp host_config.example.yaml host_config.yaml +``` + Create `host_config.yaml` on each host client machine: ```yaml diff --git a/host_config.example.yaml b/host_config.example.yaml new file mode 100644 index 0000000..444dd5d --- /dev/null +++ b/host_config.example.yaml @@ -0,0 +1,27 @@ +# 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 + +# Which Feishu users this node serves +# List of open_ids from Feishu +SERVES_USERS: + - ou_abc123def456 + - ou_789ghi012jkl \ No newline at end of file