Skip to content

Commit

Permalink
Removed accidental commit of Usage class
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Nov 14, 2024
1 parent 157b29d commit f90f29d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions llm/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,11 +660,3 @@ def _conversation_name(text):
if len(text) <= CONVERSATION_NAME_LENGTH:
return text
return text[: CONVERSATION_NAME_LENGTH - 1] + "…"


@dataclass
class Usage:
model_id: str
input_tokens: int
output_tokens: int
details: Dict[str, int]

0 comments on commit f90f29d

Please sign in to comment.