My App

AI

srstack add-ai

npx srstack@latest add-ai

Prompt

### in __root.tsx

Add aiDevtoolsPlugin() from '@tanstack/react-ai-devtools'

<TanStackDevtools
    plugins={[
        ...
        aiDevtoolsPlugin(),
    ]}
/>

Env

Set based on which provider you want.

OPENAI_API_KEY=

On this page