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

Method user_text

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

Source from the content-addressed store, hash-verified

73
74 @staticmethod
75 def user_text(text: str) -> "ConversationMessage":
76 return ConversationMessage(role="user", blocks=(TextBlock(text=text),))
77
78 @staticmethod
79 def assistant_text(text: str) -> "ConversationMessage":

Callers 1

mainFunction · 0.45

Calls 2

ConversationMessageClass · 0.70
TextBlockClass · 0.70

Tested by

no test coverage detected