Files
openclaw-zero-token/scripts/web-model-http-matrix.inc.sh
sjhu 3585d40cd3 fix(web-providers): fix 13 web models + add E2E test suite + simplify UI
Web model fixes:
- ChatGPT: update send button selectors for 2026 UI
- Gemini: use innerText instead of textContent, tighten response selectors
- Kimi: fix Connect binary protocol parser (only accept append/set ops)
- Qwen CN: add credentials:"include" to fix 403 signature error
- Perplexity: rewrite client with Playwright native keyboard API,
  only send last user message instead of full system prompt
- DeepSeek: fix tool_call regex, add data.v array handling,
  XML argument fallback, JUNK_TOKENS Unicode variants

E2E test suite (scripts/):
- Two-phase runner: TUI first (L2 HTTP + L3 WebSocket), then WebUI (L5 Playwright)
- Anti-ban: adaptive delay with provider interleaving
- Message pool: 20 natural CN/EN messages, random selection
- HTML report output to reports/

Other:
- Simplify chat UI: remove session/agent selector, keep only model selector
- onboard webauth: auto-exit after auth completes (process.exit)
- Move vitest config to scripts/ directory

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 05:17:30 +08:00

21 lines
625 B
Bash
Raw Permalink 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.
# shellcheck shell=bash
# 由 test-web-model-matrix.sh 和 test-web-model-e2e.sh source
# 定义待测 provider/model与 src/zero-token/bridge/web-providers.ts 目录一致)。
# 完整 Web 模型矩阵13 个 provider
WEB_MODEL_MATRIX_ENTRIES=(
"claude-web/claude-sonnet-4-6"
"chatgpt-web/gpt-4"
"deepseek-web/deepseek-chat"
"doubao-web/doubao-seed-2.0"
"qwen-web/qwen3.5-plus"
"qwen-cn-web/Qwen3.5-Plus"
"kimi-web/moonshot-v1-32k"
"gemini-web/gemini-pro"
"grok-web/grok-2"
"glm-web/glm-4-plus"
"glm-intl-web/glm-4-plus"
"perplexity-web/perplexity-web"
"xiaomimo-web/xiaomimo-chat"
)