MCPcopy Create free account
hub / github.com/6174/comflowyspace / updateObjectInfo

Function updateObjectInfo

apps/node/src/routes/api/comfy-proxy.ts:23–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21let cached_object_info: any = null;
22
23async function updateObjectInfo() {
24 const res = await fetch('http://127.0.0.1:8188/object_info')
25 const data = await res.json();
26 cached_object_info = data
27 return data
28}
29
30comfyuiService.comfyUIStartedSuccessEvent.on(async () => {
31 try {

Callers 2

comfy-proxy.tsFile · 0.85
ApiGetObjectInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected