iwr -useb https://openclaw.ai/install.ps1 | iex& ([scriptblock]::Create((iwr -useb https://openclaw.ai/install.ps1))) -NoOnboard--no-onboard跳过了新手引导,必须执行此命令完成初始化。~/.openclaw/openclaw.json(或旧版本路径 ~/.clawdbot/clawdbot.json){
"models": {
"providers": {
"bailian": {
// ===================== 填写1:你的接口Base URL
"baseUrl": "https://api.bjtysz.net",
// ===================== 填写2:从控制台获取的API Key
"apiKey": "sk-xxxxxx",
"api": "openai-completions",
"models": [
// ===================== 填写3:你的模型名称
// id字段代表的是模型的唯一标识符,name 字段代表的是模型的显示名称
{ "id": "deepseek-v3.2", "name": "deepseek-v3.2" },
{ "id": "qwen-plus", "name": "qwen-plus" },
{ "id": "gemini-3.1-flash-lite-preview", "name": "gemini-3.1-flash-lite-preview" },
{ "id": "claude-haiku-4-5-20251001", "name": "claude-haiku-4-5" },
{ "id": "qwen-flash", "name": "qwen-flash" },
{ "id": "gpt-5-nano", "name": "gpt-5-nano" }
]
}
}
}
}| 字段 | 说明 | 示例值 |
|---|---|---|
models | 你的模型名称 | deepseek-chat |
apiKey | 你的虚拟密钥 | sk-xxxxxxxx |
baseUrl | 接口 Base URL | https://api.bjtysz.net |