MCPcopy Create free account
hub / github.com/ScrapeGraphAI/scrapecraft / MessageRole

Class MessageRole

backend/app/models/chat.py:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4from enum import Enum
5
6class MessageRole(str, Enum):
7 USER = "user"
8 ASSISTANT = "assistant"
9 SYSTEM = "system"
10
11class ChatMessage(BaseModel):
12 id: Optional[str] = None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected