We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At present, it can only support langchain LLM model stream, for example following code:
const stream = await model.stream( messages.map(message => message.role == 'user' ? new HumanMessage(message.content) : new AIMessage(message.content), ), ); return new StreamingTextResponse(LangChainAdapter.toAIStream(stream));
but If I want to use agent and I want to call AgentExecutor to stream the output, it will not work
const agentExecutor = new AgentExecutor({ agent, tools, }); const stream = await agentExecutor.stream({ input: "hi!", });
please support this function, thanks!
No response
The text was updated successfully, but these errors were encountered:
👍 🙏
Sorry, something went wrong.
+1 would be very helpful
No branches or pull requests
Feature Description
At present, it can only support langchain LLM model stream, for example following code:
but If I want to use agent and I want to call AgentExecutor to stream the output, it will not work
please support this function, thanks!
Use Case
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: