修复(AGC模型): 添加协议字段并确保无可用模型时 unavailableModels 返回空数组
Project CI / Backend tests (pull_request) Failing after 1m3s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 7m16s
Project CI / AI game creator shell Rust crates (pull_request) Successful in 4m23s
Project CI / Frontend tests (pull_request) Failing after 1m28s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 5m35s
Project CI / AI game creator shell web tests (pull_request) Failing after 3m56s
Project CI / Native shell tests (pull_request) Successful in 9m33s
Project CI / Repository checks (pull_request) Successful in 7m9s

This commit is contained in:
2026-10-05 18:51:53 +08:00
parent 6738cf1aa9
commit 9a00700447
@@ -202,7 +202,15 @@ test('shows manual refresh progress immediately without clearing the selected mo
await act(async () => {
resolveRefresh({
defaultModelId: 'quality',
models: [{ id: 'quality', displayName: '高质量', agentMode: 'codex' }],
models: [
{
id: 'quality',
displayName: '高质量',
agentMode: 'codex',
protocol: 'openai_responses',
},
],
unavailableModels: [],
revision: 1,
});
});