mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-18 10:54:29 -04:00
Serialization issues with intermediate_steps for AgentExecutor #88
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ccurme on GitHub (Jan 5, 2024).
Originally assigned to: @eyurtsev on GitHub.
I experimented with a use case in which I initialize an AgentExecutor with an
agentchain that is a RemoteRunnable. i.e., the client side looks like this:I ended up not needing this pattern but thought it could be useful as a way for tool execution to happen outside of the Langserve server.
Server looks like this:
This example works, but breaks if I remove the custom validator on
intermediate_steps. Without it, the messages in the message_log get read in asBaseMessageinstead ofAIMessage. I geton the server.
@eyurtsev commented on GitHub (Jan 5, 2024):
Thanks for the detailed report!
@aliasmrchips commented on GitHub (Nov 30, 2024):
Any update on this?