You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(core): accept async-callable instances consistently across Flow, Action, background models, and run_in_new_span #124
Tool.__init__ accepts callable instances with async def __call__ (inspect.iscoroutinefunction(type(func).__call__)), while other core entry points still check bare inspect.iscoroutinefunction(...) and reject the same object:
Extract a shared async-callable check and apply it consistently across these entry points (along with name/docstring fallback where instances lack __name__).
Activity