Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lm-sys/FastChat
/ UsageInfo
Class
UsageInfo
fastchat/protocol/openai_api_protocol.py:45–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
44
45
class
UsageInfo(BaseModel):
46
prompt_tokens: int = 0
47
total_tokens: int = 0
48
completion_tokens: Optional[int] = 0
49
50
51
class
LogProbs(BaseModel):
Callers
3
create_chat_completion
Function · 0.90
create_completion
Function · 0.90
create_embeddings
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…