MCPcopy Create free account
hub / github.com/vercel/examples / sse_format

Function sse_format

python/vibe-coding-ide/backend/src/sse.py:17–18  ·  view source on GitHub ↗
(event: dict[str, Any])

Source from the content-addressed store, hash-verified

15
16
17def sse_format(event: dict[str, Any]) -> str:
18 return f"data: {json.dumps(event)}\n\n"
19
20
21def emit_event(

Callers 6

missing_generatorFunction · 0.90
event_generatorFunction · 0.90
run_agent_flowFunction · 0.90
resume_agent_flowFunction · 0.90
tool_started_sseFunction · 0.85
tool_completed_sseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected