From fb5280e1b5cd0315390f95b3100759020f683ee5 Mon Sep 17 00:00:00 2001 From: ideoutrea Date: Wed, 4 Feb 2026 22:57:34 +0800 Subject: [PATCH] optimize doc --- docs/providers/qianfan.md | 17 +++-------------- src/commands/onboard-auth.models.ts | 2 +- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/docs/providers/qianfan.md b/docs/providers/qianfan.md index eebfabd0f..0ec653cd9 100644 --- a/docs/providers/qianfan.md +++ b/docs/providers/qianfan.md @@ -1,12 +1,12 @@ --- -summary: "Use Qifan's unified API to access many models in OpenClaw" +summary: "Use Qianfan's unified API to access many models in OpenClaw" read_when: - You want a single API key for many LLMs - You need Baidu Qianfan setup guidance title: "Qianfan" --- -# Baidu Qianfan Provider Guide +# Qianfan Provider Guide Qianfan is Baidu's MaaS platform, provides a **unified API** that routes requests to many models behind a single endpoint and API key. It is OpenAI-compatible, so most OpenAI SDKs work by switching the base URL. @@ -79,20 +79,9 @@ openclaw onboard --auth-choice qianfan-api-key Follow the prompts to enter your API key. -### Method 3: Non-Interactive Setup -For CI/CD or scripted setups: -```bash -openclaw onboard \ - --non-interactive \ - --accept-risk \ - --auth-choice token \ - --token-provider qianfan \ - --token "bce-v3/ALTAK-your-api-key-here" -``` - -### Method 4: Configuration File +### Method 3: Configuration File Configure manually via `openclaw.json`: diff --git a/src/commands/onboard-auth.models.ts b/src/commands/onboard-auth.models.ts index 1ac95f4ee..3bb9bf4a2 100644 --- a/src/commands/onboard-auth.models.ts +++ b/src/commands/onboard-auth.models.ts @@ -108,7 +108,7 @@ export function buildMoonshotModelDefinition(): ModelDefinitionConfig { export function buildQianfanModelDefinition(): ModelDefinitionConfig { return { id: QIANFAN_DEFAULT_MODEL_ID, - name: "ERNIE 5.0", + name: "DEEPSEEK V3.2", reasoning: true, input: ["text"], cost: QIANFAN_DEFAULT_COST,