MCPcopy Create free account
hub / github.com/OpenAnonymity/oa-chat / wrapBackendStatus

Function wrapBackendStatus

local_inference/localInferenceService.js:29–36  ·  view source on GitHub ↗
(backend, event)

Source from the content-addressed store, hash-verified

27}
28
29function wrapBackendStatus(backend, event) {
30 return {
31 timestamp: Date.now(),
32 backendId: backend.id,
33 backendLabel: backend.label,
34 ...event
35 };
36}
37
38const localInferenceService = {
39 registerBackend(backend) {

Callers 1

emitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected