使用TypeScript LlamaIndex时遭遇No current context found Error问题求助
使用TypeScript LlamaIndex时遭遇No current context found Error问题求助
我在使用TypeScript版本的LlamaIndex时碰到了个棘手的问题,想请大家帮忙支支招。
我的代码片段是这样的:
const { stream, sendEvent } = workflow.createContext(); sendEvent(startEvent.with(input));
可运行后一直弹出错误:No current context found Error——我明明已经创建了上下文啊,实在搞不懂哪里出问题了。
后来我试着在创建第一个状态的时候加了日志排查,能确认状态确实创建成功了,但还是会抛出这个错误,具体的错误详情如下:
Error details: No current context found Error: No current context found at getContext (/node_
有没有大佬遇到过类似的情况,或者能给我指个排查的方向呀?
内容来源于stack exchange
相关产品推荐
相关产品推荐

