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

Support for async tool calls #1623

Open
mridula-plivo opened this issue Dec 22, 2024 · 4 comments
Open

Support for async tool calls #1623

mridula-plivo opened this issue Dec 22, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@mridula-plivo
Copy link

Thanks for the great work with phidata!

Is there any way you can support async tool calls too?
Something like this, maybe?

async def tool(...):
    ...

tools = Function(async_tool=True)
agent = Agent(..., tools=tools)

If the Function is async, when you call it, can you await it?

@manthanguptaa
Copy link
Contributor

@mridula-plivo supporting async tool calls is on our roadmap and we should've something for you soon

@manthanguptaa manthanguptaa added the enhancement New feature or request label Jan 6, 2025
@arkodoescode
Copy link

This is quite an important feature for production ready agent applications. Is there a PR for the same I could follow?

@dirkbrnd
Copy link
Contributor

This is the PR
#1720

@yu-iskw
Copy link

yu-iskw commented Jan 22, 2025

+1

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

5 participants