MCPcopy
hub / github.com/CopilotKit/CopilotKit / run

Method run

sdk-python/copilotkit/langgraph_agui_agent.py:247–251  ·  view source on GitHub ↗

Override run to filter out None events from _dispatch_event filtering.

(self, input)

Source from the content-addressed store, hash-verified

245 return super()._dispatch_event(event)
246
247 async def run(self, input):
248 """Override run to filter out None events from _dispatch_event filtering."""
249 async for event in super().run(input):
250 if event is not None:
251 yield event
252
253 async def _handle_single_event(
254 self, event: Any, state: State

Callers 2

test_agui_integrationFunction · 0.95
invocationsFunction · 0.95

Calls 1

runMethod · 0.65

Tested by 1

test_agui_integrationFunction · 0.76