fixie-ai / ai-jsx

The AI Application Framework for Javascript
https://docs.ai-jsx.com
MIT License
1.04k stars 79 forks source link

Update to new user API. #487

Closed mdwelsh closed 9 months ago

mdwelsh commented 9 months ago

This PR updates the fixie package to use the new /api/v1/user/me API for getting and updating details on the current user. This is needed so we can support this in the web UI.

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-jsx-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 2:34am
ai-jsx-nextjs-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 2:34am
ai-jsx-tutorial-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 2:34am
ai-jsx-voice ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 10, 2023 2:34am
mdwelsh commented 9 months ago

@petersalas This is now ready for a review.

I am making some important structural changes here: The build goes in 'dist', and getting rid of 'web.ts' which is no longer needed as far as I can tell. Can you please look?

mdwelsh commented 9 months ago

Okay! Thanks for the comments. Reverted everything but the specific change to the user stuff, but also renamed sidekick-types.ts to types.ts since I put the User type in there too.

mdwelsh commented 9 months ago

Merge activity