MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / _normalize_result_namespace

Function _normalize_result_namespace

analysis/loader.py:17–23  ·  view source on GitHub ↗
(value: Any)

Source from the content-addressed store, hash-verified

15
16
17def _normalize_result_namespace(value: Any) -> str:
18 text = str(value or "")
19 legacy_prefix = f"{LEGACY_RESULT_NAMESPACE}."
20 current_prefix = f"{RESULT_NAMESPACE}."
21 if text.startswith(legacy_prefix):
22 return text.replace(legacy_prefix, current_prefix, 1)
23 return text
24
25
26_MODEL_ALIAS_ALIASES = {

Callers 2

_normalize_payloadFunction · 0.85
_normalize_task_resultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected