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

Fix actions invocation for async executor calls #2

Merged
merged 1 commit into from
May 6, 2024

Conversation

tiginamaria
Copy link
Collaborator

This PR fixes two problems in LangchainActionExecutor:

  • Same ToolExecutor was called for meta / normal tools, so now different executors called
  • When a list of action were given as an input, ToolExecutor.ainvoke failed with exception as it can only process one action at a time, so execution was modified by traversing through action list

@saridormi saridormi merged commit 260100c into saridormi-dev May 6, 2024
1 check failed
@saridormi
Copy link
Collaborator

Thank you for the fix 💛 was trying to implement this quickly and messed up a bit :D

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.

2 participants