feat(models): execute Responses and validated streams with capability routing

This commit is contained in:
Agent Workbench Dev
2026-10-31 22:27:53 +08:00
parent 578cf88eca
commit eeb11d6a76
24 changed files with 856 additions and 52 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.protocol ? { protocol: config.protocol, streaming: config.streaming === true } : {}),
...(config.modelRouting ? { routing: structuredClone(config.modelRouting) } : {}),
};
}