AI
srstack add-ai
npx srstack@latest add-aiPrompt
### in __root.tsx
Add aiDevtoolsPlugin() from '@tanstack/react-ai-devtools'
<TanStackDevtools
plugins={[
...
aiDevtoolsPlugin(),
]}
/>Env
Set based on which provider you want.
OPENAI_API_KEY=