MCPcopy Create free account
hub / github.com/Emmimal/control-layer / target

Method target

control_layer.py:805–809  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

803 error: Dict[str, Any] = {}
804
805 def target():
806 try:
807 result["value"] = self.llm_fn(prompt)
808 except Exception as exc:
809 error["value"] = exc
810
811 thread = threading.Thread(target=target, daemon=True)
812 thread.start()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected