MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / _normalize_breadcrumbs

Function _normalize_breadcrumbs

utils/schema_exporter.py:49–52  ·  view source on GitHub ↗
(raw: Sequence[Mapping[str, Any]] | None)

Source from the content-addressed store, hash-verified

47
48
49def _normalize_breadcrumbs(raw: Sequence[Mapping[str, Any]] | None) -> List[Breadcrumb]:
50 if not raw:
51 return []
52 return [Breadcrumb.from_mapping(item) for item in raw]
53
54
55def _resolve_config_class(

Callers 1

build_schema_responseFunction · 0.85

Calls 1

from_mappingMethod · 0.80

Tested by

no test coverage detected