mirror of
https://github.com/modelstudioai/cli.git
synced 2026-09-14 19:49:23 +08:00
docs: widen error-hint contract note to all non-auth HTTP failures
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
|
||||
## 错误语义
|
||||
|
||||
- 4xx(除 401/403):错误信息**附当前服务清单**,模型可一步纠正无效 `agent_id`;
|
||||
- HTTP 错误(除 401/403 鉴权类):错误信息**附当前服务清单**,模型可一步纠正无效 `agent_id`(5xx 也附,但通常代表服务端异常);
|
||||
- 凭证缺失:指向 `~/.dsh/.env` / `.credentials.yaml` 配置方式与控制台取 key 页面;
|
||||
- chat 超时:说明服务端多轮检索特性,建议重试或改用 `kb_search`;
|
||||
- 服务端错误体截断至 500 字符进入错误信息(优先 `code: message`)。
|
||||
|
||||
Reference in New Issue
Block a user