feat(mindspace): enforce PostgreSQL user data delivery
This commit is contained in:
@@ -888,7 +888,10 @@ export function createChatIntentRouter(options = {}) {
|
||||
|
||||
function getStatus() {
|
||||
return {
|
||||
enabled: Boolean(policy.enabled),
|
||||
enabled: true,
|
||||
ruleRoutingEnabled: true,
|
||||
llmRoutingEnabled: false,
|
||||
configuredLlmEnabled: Boolean(policy.enabled),
|
||||
modelProviderKeyId: policy.modelProviderKeyId ?? null,
|
||||
model: policy.model ?? null,
|
||||
modelApiType: policy.modelApiType ?? 'chat',
|
||||
@@ -903,8 +906,9 @@ export function createChatIntentRouter(options = {}) {
|
||||
}
|
||||
|
||||
function isEnabled() {
|
||||
// Skill + rule routing only; LLM intent router is intentionally disabled.
|
||||
return false;
|
||||
// Rule + skill routing is always active. The LLM classifier stays disabled
|
||||
// independently; returning false here would make the gateway skip rules too.
|
||||
return true;
|
||||
}
|
||||
|
||||
async function resolveRouterContext({ userId, sessionId, text, forceDeepReasoning = false }) {
|
||||
|
||||
Reference in New Issue
Block a user