MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / MessageContent

Class MessageContent

backend/app/models/assistant/message.py:44–52  ·  view source on GitHub ↗

MessageContent is the content of a message. Currently only text content is supported.

Source from the content-addressed store, hash-verified

42
43
44class MessageContent(BaseModel):
45
46 """
47 MessageContent is the content of a message. Currently only text content is supported.
48 """
49
50 text: str = Field(..., description="The text content of the message.", examples=["Hello!"])
51
52 # todo: support more content type, i.e. file, image, etc.
53
54
55class Message(ModelEntity):

Callers 2

buildMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected