MCPcopy
hub / github.com/zai-org/ChatGLM3 / UsageInfo

Class UsageInfo

openai_api_demo/api_server.py:134–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132# for ChatCompletionRequest
133
134class UsageInfo(BaseModel):
135 prompt_tokens: int = 0
136 total_tokens: int = 0
137 completion_tokens: Optional[int] = 0
138
139
140class ChatCompletionRequest(BaseModel):

Callers 1

create_chat_completionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected