Method
run_async
( # noqa
self,
msg: Any = None,
*,
turns: int = -1,
caller: None | Task = None,
max_cost: float = 0,
max_tokens: int = 0,
session_id: str = "",
allow_restart: bool = True,
)
Source from the content-addressed store, hash-verified
| 929 | |
| 930 | @overload |
| 931 | async def run_async( # noqa |
| 932 | self, |
| 933 | msg: Any = None, |
| 934 | *, |
| 935 | turns: int = -1, |
| 936 | caller: None | Task = None, |
| 937 | max_cost: float = 0, |
| 938 | max_tokens: int = 0, |
| 939 | session_id: str = "", |
| 940 | allow_restart: bool = True, |
| 941 | ) -> Optional[ChatDocument]: ... # noqa |
| 942 | |
| 943 | @overload |
| 944 | async def run_async( # noqa |