diff --git a/packages/react-playground/src/components/ui/assistant-ui/thread.tsx b/packages/react-playground/src/components/ui/assistant-ui/thread.tsx index 3aebff8a0..7ff31ad51 100644 --- a/packages/react-playground/src/components/ui/assistant-ui/thread.tsx +++ b/packages/react-playground/src/components/ui/assistant-ui/thread.tsx @@ -104,7 +104,7 @@ const Composer: FC = () => { const { useThread, useThreadActions, useComposer, useThreadMessages } = useThreadContext(); - const unstable_canAppendNew = useThread((t) => t.unstable_canAppendNew); + const isRunning = useThread((t) => t.isRunning); const hasValue = useComposer((c) => c.value.length > 0); const performAdd = () => { @@ -167,7 +167,7 @@ const Composer: FC = () => {