feat: add system tools and state updates
This commit is contained in:
@@ -612,6 +612,8 @@ export function useVoicePreview(
|
||||
onNodeActiveRef.current?.(msg.nodeId);
|
||||
} else if (msg.type === "workflow-variables") {
|
||||
setSessionVariables(publicVariableSnapshot(msg.variables));
|
||||
} else if (msg.type === "session-variables") {
|
||||
setSessionVariables(publicVariableSnapshot(msg.variables));
|
||||
} else if (msg.type === "call-ended") {
|
||||
endedByServerRef.current = true;
|
||||
setCallEnded(true);
|
||||
|
||||
Reference in New Issue
Block a user