mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
Adding token usage support
This commit is contained in:
@@ -22,6 +22,4 @@ class CompletionResponse(BaseModel):
|
||||
created: int = Field(default_factory=lambda: int(time()))
|
||||
model: str
|
||||
object: str = "text_completion"
|
||||
|
||||
# TODO: Add usage stats
|
||||
usage: Optional[UsageStats] = None
|
||||
|
||||
Reference in New Issue
Block a user