MCPcopy Create free account
hub / github.com/abi/screenshot-to-code / process

Method process

backend/routes/generate_code.py:843–851  ·  view source on GitHub ↗
(
        self, context: PipelineContext, next_func: Callable[[], Awaitable[None]]
    )

Source from the content-addressed store, hash-verified

841 """Handles post-processing and logging"""
842
843 async def process(
844 self, context: PipelineContext, next_func: Callable[[], Awaitable[None]]
845 ) -> None:
846 post_processor = PostProcessingStage()
847 await post_processor.process_completions(
848 context.completions, context.websocket
849 )
850
851 await next_func()
852
853
854@router.websocket("/generate-code")

Callers

nothing calls this directly

Calls 3

process_completionsMethod · 0.95
PostProcessingStageClass · 0.85
next_funcFunction · 0.85

Tested by

no test coverage detected