Integrating Effect with Vercel's AI SDK and Handling Promises
I'm trying to use Effect with Vercel's AI sdk - but I can't quite figure out how to get my effects to work with the ai sdk's tool calling, which expects promises:
This is all inside an effect. That way I could prepare tools further up is calling them with Runtime.runPromise, but this particular code is already inside an effect and I don't want to expose my runtime all the way down here.
Has anyone else played around with the AI sdk?
This is all inside an effect. That way I could prepare tools further up is calling them with Runtime.runPromise, but this particular code is already inside an effect and I don't want to expose my runtime all the way down here.
Has anyone else played around with the AI sdk?

