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

refactor: keep Runway canvas selection private (#13105)

Adam Eivy70f08e117cd2
diff --git a/server/lib/runwayImageModels.js b/server/lib/runwayImageModels.js
index 271d633cbc..df59f40323 100644
--- a/server/lib/runwayImageModels.js
+++ b/server/lib/runwayImageModels.js
@@ -24,7 +24,7 @@ export const RUNWAY_IMAGE_MODEL_IDS = Object.freeze(RUNWAY_IMAGE_MODELS.map((row
export const getRunwayImageModel = (id) => RUNWAY_IMAGE_MODELS.find((row) => row.id === id) || null;
/** Preserve caller framing using the closest supported canvas at the chosen tier. */
-export function runwayImageRatio(model, { width, height, resolution = '720p', ratio } = {}) {
+function runwayImageRatio(model, { width, height, resolution = '720p', ratio } = {}) {
const ratios = model.ratios[resolution];
if (!ratios) throw refuse(`Runway image resolution must be 720p or 1080p`);
if (ratio) {