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

Method user_text

mini_claude_code/models.py:41–42  ·  view source on GitHub ↗
(cls, input:str)

Source from the content-addressed store, hash-verified

39
40 @classmethod
41 def user_text(cls, input:str) -> "Message":
42 return cls(role='user', content=[TextContentBlock(type='text',text=input)])
43 @classmethod
44 def tool_result(cls, id, name, output, is_error):
45 return cls(role='tool', content = [ToolResultContentBlock(type='tool_result',id=id, name=name,output=output,is_error=is_error)])

Callers 2

run_turnMethod · 0.45
run_replFunction · 0.45

Calls 1

TextContentBlockClass · 0.85

Tested by

no test coverage detected