Files
vscode-workbench/docs/zzz-auto-model-probe-2026-09-06.md
T

43 lines
2.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# zzz-auto 渠道模型能力实测报告(2026-09-06)
渠道:DeepSeek Harness `settings.yaml` 中 `llm-pi-ai.providers.zzz-auto`
上游:`https://api.littlecold.cn/v1`(new_api 网关)
## 实测结论
| 模型 | 文本 | 思考 (reasoning_content) | 多模态 (图片输入) | role=developer | 说明 |
|---|---|---|---|---|---|
| deepseek-v4-flash | ✅ 200 | ✅ 默认开启;`thinking:{type:"disabled"}` / `reasoning_effort:"none"` 可关;`enable_thinking:false` 无效 | ❌ 图片以 [Unsupported Image] 占位,模型自述无法查看 | ❌ 400 unknown variant | 流式 SSE 带 reasoning_content;assistant 历史 带/空 reasoning_content 均接受 |
| deepseek-v4-pro | ✅ 200 | ✅ 同 flash(所有方言接受,reasoning_content 正常) | ❌ 同 flash | ❌ 400 | 同上 |
| gemini-3.8-flash | ✅ 200 | ❌ 三种方言(enable_thinking / thinking.type / reasoning_effort)均不产出 reasoning_content;上游实际路由 `gemini-3.8-flash-high` 但不回传思维链 | ✅ 正确描述 1px 图片颜色(prompt 12 → 1098 tokens) | ✅ 200 | 非思考模型 |
其他发现:
- 网关按 `max_tokens` 预扣费;余额低时大 max_tokens 直接 403「预扣费额度失败」(与模型能力无关)。
- `/v1/models` 元数据:deepseek-v4-pro 仅声明 `openai` 端点类型;gemini-3.8-flash 声明 `gemini`+`openai`。
## 已应用的配置(settings.yaml)
- **deepseek-v4-flash / deepseek-v4-pro**
- `input: [text]`(无视觉);`contextWindow: 1048576`、`maxTokens: 32768`
- `compat.thinkingFormat: deepseek`(off → 发 `thinking:{type:"disabled"}`;low/medium/high → `thinking:{type:"enabled"}`)
- `compat.supportsDeveloperRole: false`(网关拒 developer 角色,回落 system)
- `compat.requiresReasoningContentOnAssistantMessages: true`(对齐官方 DeepSeek 目录,多轮思考上下文)
- `reasoningEfforts: off/low/medium/high`(实测档位开关均可用)
- **gemini-3.8-flash**
- `input: [text, image]`(有视觉);`contextWindow: 1048576`、`maxTokens: 65536`
- `reasoningEfforts: false`(无可用思考)
- 不需要 developer/system 回退 compat
- `subagent-model-selection.allowedModels` 加入三个 zzz-auto 模型
## 验证
- `Config()` schema 校验通过(routes: b / command-code / zzz-auto)
- `dsh --profile headless` 端到端:`deepseek-v4-flash` 与 `gemini-3.8-flash` 均经完整 harness 链路正常应答("2" / "2")
## 测试脚本
- `probe-littlecold.js` — 文本/视觉/思考三方言/developer 角色
- `probe-littlecold2.js` — 关思考变体、流式 SSE、gemini 视觉复核
- `probe-maxtokens.js` — max_tokens 预扣费行为
- `probe-reasoning-history.js` — assistant 历史 reasoning_content 兼容性