Skip to content

Commit 2af1df4

Browse files
committed
docs(readme): add bl config agent example to Configuration section
Document the one-command coding-agent setup (`bl config agent`) in the Configuration section of both README.md and README.zh.md.
1 parent 1f91fa4 commit 2af1df4

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,12 @@ bl config set --key base_url --value https://dashscope-us.aliyuncs.com
210210
bl config set --key default_text_model --value qwen-turbo
211211
bl config set --key timeout --value 600
212212

213+
# Configure a coding agent (Claude Code, Qwen Code, OpenCode, OpenClaw, Hermes, Codex)
214+
# to use DashScope with one command
215+
bl config agent --agent claude-code \
216+
--base-url https://dashscope.aliyuncs.com/apps/anthropic \
217+
--api-key sk-xxxxx --model qwen3-max
218+
213219
# Self-update to latest version
214220
bl update
215221
```

README.zh.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,11 @@ bl config set --key base_url --value https://dashscope-us.aliyuncs.com
208208
bl config set --key default_text_model --value qwen-turbo
209209
bl config set --key timeout --value 600
210210

211+
# 一键配置编程 Agent(Claude Code、Qwen Code、OpenCode、OpenClaw、Hermes、Codex)接入百炼
212+
bl config agent --agent claude-code \
213+
--base-url https://dashscope.aliyuncs.com/apps/anthropic \
214+
--api-key sk-xxxxx --model qwen3-max
215+
211216
# 自更新到最新版本
212217
bl update
213218
```

0 commit comments

Comments
 (0)