fix(runtime): preserve model capacity history and cache evidence with resumable file proposals

This commit is contained in:
Agent Workbench Dev
2026-11-06 01:18:37 +08:00
parent 2b17821138
commit 72115647d9
39 changed files with 699 additions and 75 deletions
+2
View File
@@ -19,6 +19,8 @@ export function modelSnapshot(config) {
return {
mode: config.mode, baseUrl: config.baseUrl, model: config.model,
contextLimit: config.contextLimit, maxOutputTokens: config.maxOutputTokens,
...(config.capacityMode ? { capacityMode: config.capacityMode } : {}),
...(config.historyPolicy ? { historyPolicy: config.historyPolicy } : {}),
configRevision: config.configRevision ?? 1,
...modelWaitSettings(config),
...modelIdentitySettings(config),