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

Function _btext

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

Source from the content-addressed store, hash-verified

218
219
220def _btext(block: Any) -> Any:
221 if isinstance(block, Mapping):
222 return block.get("text")
223 return getattr(block, "text", None)
224
225
226def _bcontent(block: Any) -> Any:

Callers 6

is_text_blockFunction · 0.85
is_internal_text_blockFunction · 0.85
is_synthetic_contentFunction · 0.85
serialize_content_blocksFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected