From 7302e5ca093508a73c8c2580b3e9234063054f7d Mon Sep 17 00:00:00 2001 From: ULTRACOMBOS-DEV Date: Wed, 23 Jul 2025 09:55:04 +0800 Subject: [PATCH] update --- vite/src/comps/debug.jsx | 2 +- vite/src/pages/flow_free.jsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/vite/src/comps/debug.jsx b/vite/src/comps/debug.jsx index 7acaf4d..4653b66 100644 --- a/vite/src/comps/debug.jsx +++ b/vite/src/comps/debug.jsx @@ -1,7 +1,7 @@ import { sendOsc, OSC_ADDRESS, updatePrompt } from "../util/osc" import { useData } from '../util/useData.jsx'; -const TEST_PROMPT='a hazy memory of a {{ Scene }}, seen through soft atmospheric blur, distant silhouettes and faded contours, pastel light and cinematic haze, (analog film texture), (shallow depth of field:1.3), shallow depth of field, memory fragment effect, light leak, subtle grain, chromatic aberration, surreal glow, in muted warm tones, cinematic framing,'; +const TEST_PROMPT='a hazy memory of a {{ light }}, seen through soft atmospheric blur, distant silhouettes and faded contours, pastel light and cinematic haze, (analog film texture), (shallow depth of field:1.3), shallow depth of field, memory fragment effect, light leak, subtle grain, chromatic aberration, surreal glow, in muted warm tones, cinematic framing,'; export function DebugControl({refLight}){ diff --git a/vite/src/pages/flow_free.jsx b/vite/src/pages/flow_free.jsx index 899c9e2..a287974 100644 --- a/vite/src/pages/flow_free.jsx +++ b/vite/src/pages/flow_free.jsx @@ -10,7 +10,7 @@ import NumPad from "../comps/numpad"; import { Light } from "../comps/light"; import { useData } from "../util/useData"; import VoiceAnalysis from "../comps/voiceanalysis"; -import { sendOsc, OSC_ADDRESS } from "../util/osc"; +import { sendOsc, OSC_ADDRESS, updatePrompt } from "../util/osc"; import { DebugControl } from "../comps/debug"; @@ -128,6 +128,9 @@ export function FreeFlow(){ // Special case for starting a conversation console.log('clear conversation...'); reset(); + + const prompt = `${data?.sd_prompt_prefix || ''}${'memory'}${data?.sd_prompt_suffix || ''}`; + updatePrompt(prompt); }