AGC 官方 LLM Router 账号链路与流式联网输出 #242

Merged
kdletters merged 59 commits from feat/agc-llm-router-official-chain into master 2026-09-06 16:49:13 +08:00
Showing only changes of commit 0b9fb40108 - Show all commits
@@ -834,10 +834,7 @@ async function runConfigWizardRegressionChecks() {
apiKind: 'openai_responses',
},
);
assert.equal(updatedPrimary.schemaVersion, 'game-creator-config.v2');
assert.equal(updatedPrimary.agentMode, 'provider');
assert.equal(updatedPrimary.llm.stream, true);
assert.equal(updatedPrimary.llm.webSearchEnabled, undefined);
await writeGameCreatorWizardConfig(overlayState, updatedPrimary);
const reloadedState =
await readGameCreatorWizardConfigState(overlayConfigDir);
@@ -850,7 +847,6 @@ async function runConfigWizardRegressionChecks() {
);
assert.equal(reloadedState.effectiveConfig.llm.requestTimeoutMs, 12345);
assert.equal(reloadedState.effectiveConfig.llm.stream, true);
assert.equal(reloadedState.effectiveConfig.llm.webSearchEnabled, undefined);
assert.equal(
JSON.parse(fs.readFileSync(primaryConfigPath, 'utf8')).llm.apiKey,
'fixture-new-key',
@@ -1757,10 +1753,8 @@ for (const snippet of [
"'read_game_creator_app_config'",
"'write_game_creator_app_config'",
'aria-label="运行时配置"',
'智能创作',
'账号状态',
'External Editor Base URL',
'External Editor API Key',
'陶泥儿智能创作(固定)',
'官方账号服务(固定)',
'runtime_config.save',
"'/run:运行自检,启动本地 HTTP 预览并载入客户端运行视图'",
"'activate_local_game_preview'",