(context: BetaConfirmContext)
| 137 | raise ToolError(f"blocked: {url}") |
| 138 | |
| 139 | def refuse(context: BetaConfirmContext) -> bool: |
| 140 | raise ToolError("declined: " + "c" * 5000) |
| 141 | |
| 142 | url = "https://example.com/" + "a" * 5000 |
| 143 | cases: list[tuple[FakeBrowser, str, Any, str]] = [ |
no test coverage detected