MCPcopy Create free account
hub / github.com/nat/openplayground / __init__

Method __init__

server/app.py:80–85  ·  view source on GitHub ↗
(self, model, output_buffer)

Source from the content-addressed store, hash-verified

78
79class MonitorThread(threading.Thread):
80 def __init__(self, model, output_buffer):
81 super().__init__()
82 self.model = model
83 self.output_buffer = output_buffer
84 self._stop_event = threading.Event()
85 self.event_emitter = EventEmitter()
86
87 def run(self):
88 with redirect_stderr(self.output_buffer):

Callers

nothing calls this directly

Calls 1

EventEmitterClass · 0.90

Tested by

no test coverage detected