Add page data delivery and publication guards
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user