Skip to content
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

Accept Langchain's RunnableConfig to Agent.execute_task #483

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

whimo
Copy link

@whimo whimo commented Apr 19, 2024

Accept config as an argument and forward it to the invoke() method of the underlying Langchain AgentExecutor.
It is very helpful for customizing the run, e.g. adding callbacks (see docs for more)

Accept config as an argument and forward it to the invoke() method of the underlying Langchain AgentExecutor
@joaomdmoura
Copy link
Owner

I like it, but we would need to update the agent attributes as well to allow the config to be send upon instantiating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants