Command Palette
Search for a command to run

Stale body values with useChat

✓ Relevant

useChat hook-level body config is stale; pass dynamic values via sendMessage's second argument instead, or use useRef with a function for hook-level config.