langchain
ee35b9ba - langchain-robocorp: remove toolkit return content max length (#21436)

Commit
1 year ago
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.
Author
Parents
Loading