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

Add the Option to Run Tools Sequentially #462

Open
renkehohl opened this issue Dec 18, 2024 · 1 comment
Open

Add the Option to Run Tools Sequentially #462

renkehohl opened this issue Dec 18, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@renkehohl
Copy link

I was implementing an agent to automate Git-Workflows. The Git-Tool enabled the agent to execute Git commands on my Computer. When I asked the agent to add the latest changes and then to commit and push them, it ran into an index lock. This is because all the agent wants to execute all tool calls at once. It would be nice to have the option to either run the tools all at once or sequentially.

@samuelcolvin
Copy link
Member

@sydney-runkle we can add this to ModelSettings I guess.

@renkehohl you can probably avoid the issue you're having using asyncio.Lock, either making the lock global or putting it in dependencies.

@sydney-runkle sydney-runkle added the enhancement New feature or request label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants