MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / _normalize_block

Function _normalize_block

src/utils/export_renderer.py:232–233  ·  view source on GitHub ↗
(block: Any)

Source from the content-addressed store, hash-verified

230
231
232def _normalize_block(block: Any) -> dict:
233 return dict(block) if isinstance(block, Mapping) else content_block_to_dict(block)
234
235
236def extract_message_content(msg: Any) -> Any:

Callers 3

serialize_content_blockFunction · 0.85

Calls 1

content_block_to_dictFunction · 0.90

Tested by

no test coverage detected