-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Milestone
Description
This is not quite the same thing as:
This issue is about making it so you can use llm.get_async_model() and then await model.chain("do something", tools=[...]) - whether or not those tools= are sync or async functions.
(There's nothing wrong with a sync tool function if it runs fast enough not to block the event loop. I'm going to leave it to users to wrap their long-running functions in an async threadpool and pass them in as async def callables there if they need to.)