Return True if the text contains a call block.
(text: str)
| 230 | |
| 231 | |
| 232 | def _has_tool_call(text: str) -> bool: |
| 233 | """Return True if the text contains a <tool> call block.""" |
| 234 | return bool(re.search(r'<tool>', text)) |
| 235 | |
| 236 | |
| 237 | def _log_phase(label: str, pass_num: int, max_depth: int) -> None: |
no test coverage detected