feat(KB-337): execute KB-335 — rename environment variables KB_* to FUSION_*

This commit is contained in:
gsxdsm
2026-03-31 20:01:54 -07:00
parent 9fd7b667d5
commit 6505854779
2 changed files with 3 additions and 2 deletions

View File

@@ -4978,7 +4978,7 @@ export function createApiRoutes(store: TaskStore, options?: ServerOptions): Rout
} = await import("@fusion/core");
// Debug logging
if (process.env.KB_DEBUG_AI) {
if (process.env.FUSION_DEBUG_AI) {
console.log(`[ai-summarize] Request from ${ip}, description length: ${description?.length || 0}`);
}
@@ -5022,7 +5022,7 @@ export function createApiRoutes(store: TaskStore, options?: ServerOptions): Rout
(settings.planningProvider && settings.planningModelId ? settings.planningModelId : undefined) ||
(settings.defaultProvider && settings.defaultModelId ? settings.defaultModelId : undefined);
if (process.env.KB_DEBUG_AI) {
if (process.env.FUSION_DEBUG_AI) {
console.log(`[ai-summarize] Resolved model: ${resolvedProvider || "auto"}/${resolvedModelId || "auto"}`);
}