MCPcopy Create free account
hub / github.com/VitoHowe/glm-coding / _load_adapter_module

Function _load_adapter_module

app/services/ocr_service.py:57–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55
56
57def _worker_analyze(data: bytes, prompt_text: str, include_debug: bool) -> dict[str, Any]:
58 _clear_proxy_env()
59 adapter = _load_adapter_module()
60 started_at = time.perf_counter()
61 result = adapter.analyze_image_bytes(
62 data,
63 prompt_text=prompt_text,

Callers 4

_worker_initializerFunction · 0.85
_warmup_workerFunction · 0.85
_worker_analyzeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected