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

Method _params

tests/test_query_unification_round3.py:77–90  ·  view source on GitHub ↗
(self, tools, provider, mode="bypassPermissions")

Source from the content-addressed store, hash-verified

75 self.tmp.cleanup()
76
77 def _params(self, tools, provider, mode="bypassPermissions"):
78 registry = ToolRegistry(tools)
79 ctx = ToolContext(workspace_root=self.workspace)
80 ctx.permission_context.mode = mode
81 return QueryParams(
82 messages=[UserMessage(content="Hi")],
83 system_prompt="You are helpful.",
84 tools=tools,
85 tool_registry=registry,
86 tool_use_context=ctx,
87 provider=provider,
88 abort_controller=AbortController(),
89 max_turns=4,
90 )
91
92
93class TestUnifiedLane(_Base):

Calls 5

ToolRegistryClass · 0.90
ToolContextClass · 0.90
QueryParamsClass · 0.90
UserMessageClass · 0.90
AbortControllerClass · 0.90

Tested by

no test coverage detected