feat: add model center and pool routing

This commit is contained in:
Agent Workbench Dev
2026-10-30 16:52:05 +08:00
parent 9770a536bd
commit fb58a41e08
18 changed files with 778 additions and 11 deletions
+1
View File
@@ -11,6 +11,7 @@ export function modelSnapshot(config) {
mode: config.mode, baseUrl: config.baseUrl, model: config.model,
contextLimit: config.contextLimit, maxOutputTokens: config.maxOutputTokens,
configRevision: config.configRevision ?? 1,
...(config.modelRouting ? { routing: structuredClone(config.modelRouting) } : {}),
};
}