Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/lm-sys/FastChat
/ ChatMessage
Class
ChatMessage
fastchat/protocol/openai_api_protocol.py:77–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
75
76
77
class
ChatMessage(BaseModel):
78
role: str
79
content: str
80
81
82
class
ChatCompletionResponseChoice(BaseModel):
Callers
1
create_chat_completion
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…