Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

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

Question: RemoteRunnable and tools - what am I missing? #557

Closed
itamarhaber opened this issue Mar 26, 2024 · 1 comment
Closed

Question: RemoteRunnable and tools - what am I missing? #557

itamarhaber opened this issue Mar 26, 2024 · 1 comment

Comments

@itamarhaber
Copy link

Hi everyone,

I have a question that either makes sense or doesn't - would appreciate any guidance.

Context: I want to implement an agent that can use a tool. The agent, alongside the different API keys, should be hosted and served with langserve. The tool, on the other hand, needs to be executed by the agent's caller.

How would one go about that?

@eyurtsev
Copy link
Collaborator

The default agent executor in langchain does not allow doing unfortunately -- it hard coded the assumption that tool execution happens in the same process.

I'd look into writing a custom agent executor using langgraph: https://python.langchain.com/docs/langgraph

Similar to question: #334

@langchain-ai langchain-ai locked and limited conversation to collaborators Mar 27, 2024
@eyurtsev eyurtsev converted this issue into discussion #559 Mar 27, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants