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

Method system_text

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

Source from the content-addressed store, hash-verified

81
82 @staticmethod
83 def system_text(text: str) -> "ConversationMessage":
84 return ConversationMessage(role="system", blocks=(TextBlock(text=text),))
85
86 @staticmethod
87 def tool_result(tool_use_id: str, tool_name: str, output: str, is_error: bool = False) -> "ConversationMessage":

Callers 1

compact_sessionFunction · 0.80

Calls 2

ConversationMessageClass · 0.70
TextBlockClass · 0.70

Tested by

no test coverage detected