Next.js Discord

Discord Forum

Ai sdk

Unanswered
African Slender-snouted Crocodil… posted this in #help-forum
Open in Discord
African Slender-snouted CrocodileOP
hey, i’m kind of confused here, or maybe there’s a better way to do this. currently, i have a python server with my agent, and i’m trying to connect it to a ui. i think the vercel ai sdk is the best choice. my current implementation is for a route to call my endpoint, and then my ui calls that route. i was wondering if there’s a better approach than the one i’m using. i have two endpoints: one for posting chat and the other for streaming events from my python serve

0 Replies