MCPcopy Create free account
hub / github.com/Louisym/MiniCC / assistant_text

Method assistant_text

tutorials/07_auto_compaction.py:79–80  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

77
78 @staticmethod
79 def assistant_text(text: str) -> "ConversationMessage":
80 return ConversationMessage(role="assistant", blocks=(TextBlock(text=text),))
81
82 @staticmethod
83 def system_text(text: str) -> "ConversationMessage":

Callers 1

mainFunction · 0.45

Calls 2

ConversationMessageClass · 0.70
TextBlockClass · 0.70

Tested by

no test coverage detected