Connecting to AI Agent on workers from Pages
New to CF platform but we have a nextjs app on pages and also a worker running hono + agents
My question is whats the best way to connect to a client and stream from pages to workers
All the examples I see don't show a baseurl option so I don't know if they assume the client will be connected as part of the backend or if I don't need to specify base urls and it''s something related to service bindings and configs??
if its service bindings and I have both frontend and backend up locally on separate terminals but both brought up with wrangler dev, will the service bindings still work?
0 Replies