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 0c601387a2
commit 31a7a7ceea
2 changed files with 3 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ BREAKING CHANGE: All environment variables have been renamed:
- KB_BADGE_PUBSUB_REDIS_URL → FUSION_BADGE_PUBSUB_REDIS_URL
- KB_BADGE_PUBSUB_CHANNEL → FUSION_BADGE_PUBSUB_CHANNEL
- KB_DEBUG_PLANNING_ROUTES → FUSION_DEBUG_PLANNING_ROUTES
- KB_DEBUG_AI → FUSION_DEBUG_AI
- KB_RUNTIME_DIR → FUSION_RUNTIME_DIR
- KB_NATIVE_ASSETS_PATH → FUSION_NATIVE_ASSETS_PATH
- KB_FAKE_BUNFS_ROOT → FUSION_FAKE_BUNFS_ROOT

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"}`);
}