runnable-hub/python/runnable_workers/llmWorker/request/llmMessage.py (4 lines of code) (raw):

from pydantic import BaseModel class LlmMessage(BaseModel): role: str content: str