MCPcopy
hub / github.com/ModelTC/LightLLM / ChatMessage

Class ChatMessage

lightllm/server/api_models.py:130–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128
129
130class ChatMessage(BaseModel):
131 role: str
132 content: str
133 tool_calls: Optional[List[ToolCall]] = Field(default=None, examples=[None])
134
135
136class ChatCompletionResponseChoice(BaseModel):

Callers 1

chat_completions_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected