MCPcopy
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
45class UsageInfo(BaseModel):
46 prompt_tokens: int = 0
47 total_tokens: int = 0
48 completion_tokens: Optional[int] = 0
49
50
51class LogProbs(BaseModel):

Callers 3

create_chat_completionFunction · 0.90
create_completionFunction · 0.90
create_embeddingsFunction · 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…