MCPcopy Index your code
hub / github.com/CopilotKit/CopilotKit / _spy

Method _spy

sdk-python/tests/test_copilotkit_lg_middleware.py:1177–1181  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

1175 captured: "list[dict]" = []
1176
1177 def _spy(params):
1178 captured.append(params)
1179 stub = MagicMock(name="generate_a2ui_tool")
1180 stub.name = "generate_a2ui"
1181 return stub
1182
1183 monkeypatch.setattr("copilotkit.copilotkit_lg_middleware.get_a2ui_tools", _spy)
1184 return captured

Callers

nothing calls this directly

Calls 1

appendMethod · 0.65

Tested by

no test coverage detected