Method
run
( # 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
| 761 | |
| 762 | @overload |
| 763 | def run( # noqa |
| 764 | self, |
| 765 | msg: Any = None, |
| 766 | *, |
| 767 | turns: int = -1, |
| 768 | caller: None | Task = None, |
| 769 | max_cost: float = 0, |
| 770 | max_tokens: int = 0, |
| 771 | session_id: str = "", |
| 772 | allow_restart: bool = True, |
| 773 | ) -> Optional[ChatDocument]: ... # noqa |
| 774 | |
| 775 | @overload |
| 776 | def run( # noqa |