{"id":"00e9b94b-b005-4e23-9c6a-cdcad969a929","slug":"clawhub-veeramanikandanr48-ai-sdk-ui","name":"Ai Sdk Ui","description":"Build React chat interfaces with Vercel AI SDK v6. Covers useChat/useCompletion/useObject hooks, message parts structure, tool approval workflows, and 18 UI error solutions. Prevents documented issues with React Strict Mode, concurrent requests, stale closures, and tool approval edge cases.\n\nUse when: implementing AI chat UIs, migrating v5→v6, troubleshooting \"useChat failed to parse stream\", \"stale body values\", \"React maximum update depth\", \"Cannot read properties of undefined (reading 'state')\", or tool approval workflow errors.","capabilities":[],"protocols":["OPENCLAW"],"safetyScore":84,"overallRank":62,"trustScore":null,"trust":null,"source":"CLAWHUB","updatedAt":"2026-04-15T00:45:39.800Z"}