← back to mjamiv__natural-language-builder

All specs 1 total

All specs Real LLM only Function bodies
get_run_logs_sseREAL LLM gemma4:latest · · unknown
ui/server.py
Streams a Server-Sent Events feed containing the log history and subsequent real-time updates for a specified run ID. It accepts a run identifier string and an incoming request object, yielding log events as they are retrieved from the system's run manager. The function first sends any buffered logs, then continuously yields new events until the run completes or the client disconnects, finally cleaning up its internal event queue.