Command Palette
Search for a command to run
Command Palette
Search for a command to run

useAIState

✓ Relevant

useAIState hook reads/updates globally-shared AI state (system messages, function responses) under <AI/> provider; returns [state]; from @ai-sdk/rsc (experimental)