David Khourshid
David Khourshid
Yes please @otrebu, open a pull request and I will gladly work on this with you.
> @davidkpiano did you have a chance to have a look? Otherwise I will try again after I rebase. I have recently added the Vercel AI SDK, which abstracts multiple...
Thanks so much for this! Do you think it would make sense to have separate Langchain-specific examples?
Since this PR, I've switched to using the Vercel AI SDK which allows for using an adapter for LangChain: https://sdk.vercel.ai/docs/reference/stream-helpers/langchain-adapter
Hey @magick93, I agree! I'll kick this off soon, and would love community help to contribute/test it.
> Hi David, > > Would be happy to contribute. making a transition to offering custom agent development and stateX will be a core part of it. Thanks for the...
Since `@statelyai/agent` now uses the Vercel AI SDK under the hood, you can adapt it with Langchain: https://sdk.vercel.ai/docs/reference/stream-helpers/langchain-adapter
This is working as expected. The snapshot isn't committed until all of the actions have been executed.
@crls-dray Would you want something like this? ```ts // PSEUDOCODE const myAction = assign(({ stateNode }) => { console.log(stateNode.id); // e.g. "someMachine.loading" return {}; }) ```
cc. @Andarist - I know that you had opinions/thoughts on this