Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

test(desktop): 补 R23 worker 兼容闸用例的路由上下文类型

yan95e21a25c9e8
diff --git a/apps/desktop/src/main/maker-ipc/__tests__/orcaWorkerCreationService.test.ts b/apps/desktop/src/main/maker-ipc/__tests__/orcaWorkerCreationService.test.ts
index 8e0f30e4fc..6c2894e04a 100644
--- a/apps/desktop/src/main/maker-ipc/__tests__/orcaWorkerCreationService.test.ts
+++ b/apps/desktop/src/main/maker-ipc/__tests__/orcaWorkerCreationService.test.ts
@@ -1658,6 +1658,7 @@ describe('SSH remote worker model/provider compatibility gate (R23 P2)', () => {
{ id: 'chatgpt/gpt-5.5', efforts: ['low', 'medium', 'high', 'xhigh'], defaultEffort: 'high', supportsFastMode: true },
]),
getProviderRoutingContext: vi.fn(async () => providerRoutingContext({
+ 'claude-code': [],
codex: [{ id: 'chatgpt', name: 'ChatGPT Subscription', models: ['chatgpt/gpt-5.5'] }],
})),
});
@@ -1685,6 +1686,7 @@ describe('SSH remote worker model/provider compatibility gate (R23 P2)', () => {
{ id: 'deepseek-v4', efforts: ['low', 'medium', 'high', 'xhigh'], defaultEffort: 'high', supportsFastMode: true },
]),
getProviderRoutingContext: vi.fn(async () => providerRoutingContext({
+ 'claude-code': [],
codex: [{ id: 'deepseek', name: 'DeepSeek', models: ['deepseek-v4'], chatBridgedCodex: true }],
})),
});