Skip to content

Commit

Permalink
add tokens fields to codetf (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
clavedeluna authored Feb 4, 2025
1 parent 4ff7bd7 commit bef0620
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/codemodder/codetf.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ class AIMetadata(BaseModel):
provider: Optional[str] = None
model: Optional[str] = None
tokens: Optional[int] = None
completion_tokens: Optional[int] = None
prompt_tokens: Optional[int] = None


class Strategy(Enum):
Expand Down

0 comments on commit bef0620

Please sign in to comment.