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

Method text_block

entity/messages.py:143–144  ·  view source on GitHub ↗
(cls, text: str)

Source from the content-addressed store, hash-verified

141
142 @classmethod
143 def text_block(cls, text: str) -> "MessageBlock":
144 return cls(type=MessageBlockType.TEXT, text=text)
145
146 def describe(self) -> str:
147 """Human-friendly summary for logging."""

Callers 8

requestMethod · 0.80
_normalize_resultMethod · 0.80
_normalize_blocksMethod · 0.80
build_from_blocksMethod · 0.80
_build_blocksMethod · 0.80
blocksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected