mirror of https://github.com/hwchase17/langchain
langchain-robocorp: remove toolkit return content max length (#21436)
Robocorp (action server) toolkit had a limitation that the content length returned by the tool was always cut to max 5000 chars. This was from the time when context windows were much more limited. This PR removes the limitation. Whatever the underlying tool provides gets sent back to the agent. As the robocorp toolkit no longer restricts the content, the implication is that either the Action (tool) developer or the agent developer needs to be aware of potentially oversized tool responses. Our point of view is this should be the agent developer's responsibility, them being in control of the use case and aware of the context window the LLM has.pull/21438/head
parent
710e57d779
commit
ee35b9ba56
Loading…
Reference in New Issue