mirror of
https://github.com/langchain-ai/langserve.git
synced 2026-07-18 10:54:29 -04:00
How to expose as remote tool which can be called by remote Agent #77
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 @weiminw on GitHub (Dec 23, 2023).
I use langserve develop a chain , and expose as remote tool. my friend wants to call my chain in his agent, how to do it?
Joke chain:
Agent:
agent always got error: because not there is not valid input to remote tool.
@eyurtsev commented on GitHub (Dec 23, 2023):
The best way right now is to wrap it in another function. This allows you to populate the doc-string and specify the type signature appropriately.