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 · 1 comment
Open

Support for async tool calls #1623

mridula-plivo opened this issue Dec 22, 2024 · 1 comment

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

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

No branches or pull requests

2 participants