Closed AVGVSTVS96 closed 3 months ago
Add Vercel AI SDK dependencies
Update ChatUI.tsx, add add useChat hook
ChatUI.tsx
useChat
Create basic chatRoute.ts file in /pages/api/
chatRoute.ts
/pages/api/
First working version
Use createOpenAI to create provider with api key, small updated to optimize ChatUI.tsx
createOpenAI
27039d1
View logs
Open the branch in Web Editor • VS Code • Insiders Open Preview
master
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @AVGVSTVS96 and the rest of your teammates on Graphite
Add Vercel AI SDK dependencies
Update
ChatUI.tsx
, add adduseChat
hookCreate basic
chatRoute.ts
file in/pages/api/
First working version
Use
createOpenAI
to create provider with api key, small updated to optimizeChatUI.tsx