(tools: list[Tool] | None = None)
| 29 | |
| 30 | |
| 31 | def _make_context(tools: list[Tool] | None = None) -> ToolContext: |
| 32 | from src.tool_system.context import ToolUseOptions |
| 33 | return ToolContext( |
| 34 | workspace_root=Path("/tmp"), |
| 35 | options=ToolUseOptions(tools=tools or []), |
| 36 | abort_controller=AbortController(), |
| 37 | ) |
| 38 | |
| 39 | |
| 40 | def _make_block(name: str, tool_id: str = "tu_1") -> ToolUseBlock: |
no test coverage detected