[bug] vision describe: default base URL is the Coding Plan endpoint → HTTP 404 for all VL/OCR models
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 78/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
研究方向
找出 vision describe 命令,並比較它與其他 API 金鑰命令解析基礎 URL 的方式。追蹤 --base-url、DASHSCOPE_BASE_URL 和所選設定檔的 base_url 對應的端點選擇;執行 vision 命令測試。完成條件是使用已設定的端點,或預設端點指向提供 VL/OCR 模型的公開端點。
由索引模型根據 Issue 內容生成。
描述
Environment
- CLI: bl 2.1.0
- Skill: 2.1.0
- Node: v22.23.3
- OS: Linux 5.15.0-198-generic x86_64 (Ubuntu)
- Region: cn (domestic)
Reproduce
bl vision describe without an explicit --base-url posts to
https://coding.dashscope.aliyuncs.com/compatible-mode/v1/chat/completions,
which does not serve VL/OCR models, so the request always 404s.
# fails
bl vision describe --image ./test.png --model qwen3.5-ocr --prompt "Output the text" --verbose
# identical command + explicit public endpoint succeeds
bl vision describe --image ./test.png --model qwen3.5-ocr --prompt "Output the text" \
--base-url https://dashscope.aliyuncs.com
Expected
bl vision describe should resolve its endpoint the same way other API-key
commands do (--base-url → DASHSCOPE_BASE_URL → selected profile base_url),
or fall back to a public DashScope endpoint that actually serves VL models.
Actual
Every call without --base-url fails with HTTP 404, for every model tried
(qwen3.5-ocr, qwen-vl-ocr, qwen3-vl-plus). The same command with
--base-url https://dashscope.aliyuncs.com exits 0 and returns correct OCR text.
The configured profile's base_url is a private workspace endpoint
([REDACTED_URL]), and vision does not use that either — so neither the
profile setting nor a working default is applied.
Full output
> POST https://coding.dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
> x-dashscope-source-config: {"channel":"bailian-cli","tags":{"t1":"public","t2":"bl","t3":"2.1.0"}}
< 404 Not Found
Error: HTTP 404
Status: HTTP 404
Exit code: 1
JSON error
{
"error": {
"code": 1,
"message": "HTTP 404",
"http_status": 404
}
}
Already tried
bl updateto 2.1.0; skill version aligned with the CLIbl auth statushealthy (API key + console gateway configured)- Reproduces on every call (100%), on several models, and also on a plain
320×90 test image with no document content --base-url https://dashscope.aliyuncs.comworks every time
Notes
- Frequency: always
- Invoked via: terminal and agent (DeepSeek Harness)
- Impact: the error carries no hint about the endpoint, so it reads like a model
or auth problem. Users cannot self-diagnose without--verbose, and the
documentedbl model searchcatalog lists these models as available. This
breaks the entire VL/OCR surface of the CLI for anyone who does not pass
--base-urlexplicitly.
- 主要語言
- TypeScript
- 星號
- 527
- 分支
- 33
- 平均合併
- 6 小時 11 分鐘
- 30 天內合併 PR
- 26
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
modelstudioai/cli 的其他 Issue
-
[bug]: speech recognize --timeout 未作用于临时 OSS 上传(固定 120 秒)可能已有人在做 @hopelynd 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
modelstudioai/cli#243 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
modelstudioai/cli#242 ·
維護者通常 1 天內回覆
-
[bug] bl update: darwin-arm64 binary ships invalid ad-hoc signature, killed by macOS (Killed: 9)未關閉
難度 2/5 1-3 小時 新手友好度 65/100
modelstudioai/cli#223 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 35/100
modelstudioai/cli#240 ·
維護者通常 1 天內回覆
-
難度 3/5 1-2 天 新手友好度 57/100
modelstudioai/cli#239 ·
維護者通常 1 天內回覆
查看 modelstudioai/cli 的全部 Issue
相似的 Issue
-
enhancement
難度 1/5 1 小時以內 新手友好度 80/100
alunduil/projects-v2-sync#21 ·
-
難度 2/5 1-3 小時 新手友好度 85/100
-
enhancement minor
難度 2/5 1-3 小時 新手友好度 74/100
testcontainers/testcontainers-node#1539 ·
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 70/100
christopher-buss/eslint-plugin-flawless#72 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
openwatersio/slackwater-database#281 ·
維護者通常 1 天內回覆