docs: 添加主机客户端配置示例文件并更新README
添加host_config.example.yaml作为配置模板 在README中补充配置说明,指导用户复制模板文件
This commit is contained in:
parent
8591467592
commit
4ea15d4612
@ -161,6 +161,12 @@ ROUTER_SECRET: your-shared-secret-for-router-host-auth
|
|||||||
|
|
||||||
### Host Client Configuration (for multi-host mode)
|
### 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:
|
Create `host_config.yaml` on each host client machine:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|||||||
27
host_config.example.yaml
Normal file
27
host_config.example.yaml
Normal file
@ -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
|
||||||
Loading…
x
Reference in New Issue
Block a user