From 7f3c3adf13644d67b58d71e8a7ec37db75838127 Mon Sep 17 00:00:00 2001 From: ULTRACOMBOS-DEV Date: Sun, 14 Sep 2025 11:35:04 +0800 Subject: [PATCH] update --- vite/src/pages/flow_free.jsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/vite/src/pages/flow_free.jsx b/vite/src/pages/flow_free.jsx index 43db6c1..f18528b 100644 --- a/vite/src/pages/flow_free.jsx +++ b/vite/src/pages/flow_free.jsx @@ -147,6 +147,12 @@ export function FreeFlow(){ refAudioPrompt.current.onended = () => { console.log('Audio prompt ended, setting chat status to User'); setChatStatus(ChatStatus.User); // Set chat status to User after audio ends + + const user_input = history.find(msg => msg.role === 'user'); + if(user_input && user_input.content.trim() !== '') { + sendOsc(OSC_ADDRESS.STATUS, 'go'); // Send OSC status message + } + } }else{ @@ -227,11 +233,7 @@ export function FreeFlow(){ }else{ // if history contains user input, send it - const user_input = history.find(msg => msg.role === 'user'); - if(user_input && user_input.content.trim() !== '') { - sendOsc(OSC_ADDRESS.STATUS, 'go'); // Send OSC status message - } - + sendPrompt(); }