(*args, **kwargs)
| 34 | sync_func = func.func |
| 35 | |
| 36 | def async_callable(*args, **kwargs): |
| 37 | return asyncio.to_thread(sync_func, *args, **kwargs) # noqa: B023 |
| 38 | |
| 39 | async_funcs.append( |
| 40 | FunctionTool(async_callable, deepcopy(func.openai_tool_schema)) |
nothing calls this directly
no outgoing calls
no test coverage detected