修复默认推理强度测试
Project CI / Repository checks (pull_request) Successful in 2m44s
Project CI / Frontend tests (pull_request) Successful in 3m34s
Project CI / Backend tests (pull_request) Successful in 6m36s
Project CI / Native shell tests (pull_request) Successful in 18m36s

同步运行时配置测试对 high 默认 reasoning effort 的断言

保留策划 Agent 伪流式显示的降速调整
This commit is contained in:
2026-09-13 10:47:41 +00:00
parent 114a016c57
commit c8dc57a4e3
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -808,12 +808,12 @@ export function App({
return target;
}
const remaining = target.length - prefix.length;
const step = remaining > 160 ? 8 : remaining > 48 ? 4 : 2;
const step = remaining > 160 ? 4 : remaining > 48 ? 2 : 1;
const next = target.slice(0, prefix.length + step);
planningV2VisibleReplyRef.current = next;
return next;
});
}, 32);
}, 50);
return () => window.clearInterval(timer);
}, []);
@@ -620,7 +620,7 @@ function createProjectSupervisorRuntimeHarness({
baseUrl: '',
model: 'quality',
apiKind: 'openai_responses',
reasoningEffort: 'max',
reasoningEffort: 'high',
stream: true,
webSearchEnabled: true,
contextWindowTokens: 128000,
@@ -1000,7 +1000,7 @@ export function registerPublishedRuntimeSettingsTests() {
expect(screen.queryByLabelText('LLM API Key')).toBeNull();
expect(screen.queryByLabelText('LLM Base URL')).toBeNull();
expect(screen.queryByLabelText('LLM 模型')).toBeNull();
expect(screen.getByLabelText('推理档')).toHaveProperty('value', 'max');
expect(screen.getByLabelText('推理档')).toHaveProperty('value', 'high');
expect(screen.getByLabelText('联网检索')).toHaveProperty('checked', true);
fireEvent.click(screen.getByRole('button', { name: /Agent 分工/ }));
expect(screen.getByText('所有角色使用统一账号服务')).not.toBeNull();
@@ -1031,7 +1031,7 @@ export function registerPublishedRuntimeSettingsTests() {
baseUrl: '',
model: '',
apiKind: 'openai_responses',
reasoningEffort: 'max',
reasoningEffort: 'high',
stream: true,
webSearchEnabled: true,
contextWindowTokens: 128000,