Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

simplify(creative-director): stop exporting resolveQueueModeParams

[._.]/ Adam Eivye6ea0dc09abd
diff --git a/server/services/creativeDirector/firstPassGen.js b/server/services/creativeDirector/firstPassGen.js
index 10f4f9cbed..565fb33244 100644
--- a/server/services/creativeDirector/firstPassGen.js
+++ b/server/services/creativeDirector/firstPassGen.js
@@ -65,10 +65,11 @@ export function buildPortraitPrompt(ingredient) {
* route + universeBuilderRender do, so the cleanC2PA / denoise cleaners apply
* to first-pass renders exactly like a manual portrait render.
*
- * Exported so `enqueueFirstPassSceneFrames` (#1867) shares the exact same
- * queue-backed-mode gate as the portrait path rather than re-deriving it.
+ * Shared (not exported — same-file caller only) so `enqueueFirstPassSceneFrames`
+ * (#1867) uses the exact same queue-backed-mode gate as the portrait path
+ * rather than re-deriving it.
*/
-export async function resolveQueueModeParams() {
+async function resolveQueueModeParams() {
const settings = await getSettings();
const mode = settings.imageGen?.mode || IMAGE_GEN_MODE.EXTERNAL;
if (mode === IMAGE_GEN_MODE.CODEX) {