# node-token 配置示例
# 复制为 config.toml 并填写实际值
# KeyCompute 服务端 URL(必需)
= "http://localhost:3000"
# 注册 token(从 KeyCompute 配置获取,必需)
= "your-registration-token"
# 客户端实例 ID(建议固定以便重启复用,必需)
# 可以使用 hostname 或自定义标识
= "my-kc-node-001"
# 节点显示名称(必需)
= "My KeyCompute Node"
# 本地 Ollama URL(可选,默认 http://localhost:11434)
= "http://localhost:11434"
# 心跳间隔(秒,可选,默认 30)
= 30
# Excluded 节点 poll 检查间隔(秒,可选,默认 30)
# 节点被 excluded 后,poll 循环定期检查是否恢复
= 30
# 本地数据目录(可选,默认 ~/.local/share/node-token)
# data_dir = "/path/to/data"