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

useChat stale body data

✓ Relevant

useChat body parameter captures values at initialization; pass dynamic values to sendMessage's second argument instead, or use useRef with hook-level function config.