Add page data delivery and publication guards

This commit is contained in:
john
2026-07-08 21:10:47 +08:00
parent 8d629e7a4e
commit eea14c1855
66 changed files with 3035 additions and 413 deletions
+3
View File
@@ -209,6 +209,9 @@ function applyEnv(config, secrets, env = process.env) {
if (!normalizeString(config.chatIntentRouter.timeoutMs)) {
config.chatIntentRouter.timeoutMs = '2500';
}
if (config.chatIntentRouter.enabled === undefined) {
config.chatIntentRouter.enabled = false;
}
const fallbackRoute = normalizeString(config.chatIntentRouter.fallbackRoute);
if (!fallbackRoute || fallbackRoute === 'direct_chat') {
config.chatIntentRouter.fallbackRoute = 'agent_orchestration';