(self, reason: str, detail: Union[str, None] = None)
| 7 | |
| 8 | class ClientException(AgentBenchException): |
| 9 | def __init__(self, reason: str, detail: Union[str, None] = None) -> None: |
| 10 | super().__init__() |
| 11 | self.reason = reason |
| 12 | self.detail = detail |
| 13 | |
| 14 | def __str__(self) -> str: |
| 15 | if not self.detail: |