mirror of
https://github.com/soconnor0919/hristudio.git
synced 2026-03-24 03:37:51 -04:00
Fix branching logic and robot action timing
- Remove onCompleted() call after branch selection to prevent count increment - Add proper duration estimation for speech actions (word count + emotion overhead) - Add say_with_emotion and wave_goodbye to built-in actions - Add identifier field to admin.ts plugin creation
This commit is contained in:
@@ -536,7 +536,8 @@ export function WizardActionItem({
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
onExecute(action.id, { value, label, nextStepId });
|
||||
onCompleted();
|
||||
// Don't call onCompleted() here - the branching logic in handleWizardResponse
|
||||
// will handle the jump and reset completedActionsCount
|
||||
}}
|
||||
disabled={readOnly || isExecuting}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user