MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _make_interactive_context

Function _make_interactive_context

tests/test_agent_tool_fork.py:44–47  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

42
43
44def _make_interactive_context(tmp_path: Path) -> ToolContext:
45 ctx = ToolContext(workspace_root=tmp_path)
46 ctx.options = ToolUseOptions(is_non_interactive_session=False)
47 return ctx
48
49
50def test_fork_routing_disabled_by_default(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:

Calls 2

ToolContextClass · 0.90
ToolUseOptionsClass · 0.90

Tested by

no test coverage detected