Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
232
def
_normalize_block(block: Any) -> dict:
233
return
dict(block)
if
isinstance(block, Mapping)
else
content_block_to_dict(block)
234
235
236
def
extract_message_content(msg: Any) -> Any:
Callers
3
render_messages_to_markdown
Function · 0.85
serialize_content_block
Function · 0.85
render_messages_to_plain_text
Function · 0.85
Calls
1
content_block_to_dict
Function · 0.90
Tested by
no test coverage detected