feat(router): improve direct_chat fast-path and add 103 token env sync
Memind CI / Test, build, and release guards (push) Failing after 12m44s

Route explicit text-only Q&A away from Agent before page-generation rules,
and add a script to enable Router + tighter memory budgets on 103 without
changing the global deepseek-v4-pro model.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-25 15:13:22 +08:00
parent 9dfafb99ca
commit 9332bacabd
7 changed files with 758 additions and 13 deletions
+39
View File
@@ -0,0 +1,39 @@
{
"id": "token-benchmark-chat",
"name": "Token 基准:Direct Chat 三轮",
"description": "简单对话,不走做页面 Agent,对比 pro vs flash",
"account": {
"username": "john2",
"password": "888888"
},
"steps": [
{
"action": "chat",
"label": "打招呼",
"message": "hi",
"expect": {
"assistantMinChars": 1,
"timeoutMs": 120000
}
},
{
"action": "chat",
"label": "苏州简介",
"message": "用三句话介绍苏州园林,不要生成页面",
"expect": {
"assistantMinChars": 20,
"timeoutMs": 120000,
"replyKeywords": ["苏州"]
}
},
{
"action": "chat",
"label": "追问",
"message": "推荐一个最适合第一次去的,一句话说明理由",
"expect": {
"assistantMinChars": 10,
"timeoutMs": 120000
}
}
]
}
+26
View File
@@ -0,0 +1,26 @@
{
"id": "token-benchmark-page",
"name": "Token 基准:独立苏州页面",
"description": "每次使用唯一文件名,避免复用已有 HTML 污染上下文",
"account": {
"username": "john2",
"password": "888888"
},
"steps": [
{
"action": "chat",
"label": "生成独立苏州页面",
"message": "请帮我做一个全新的苏州一日游攻略页面,保存为 public/token-bench-{{PROFILE}}-{{RUN_ID}}.html,不要修改或复用已有页面,做完直接给我链接。",
"expect": {
"assistantMinChars": 20,
"timeoutMs": 600000,
"replyKeywords": ["苏州"],
"page": {
"keywords": ["苏州"],
"requirePublicLink": true,
"requireHttp200": true
}
}
}
]
}