Skip to content

Commit 60f7353

Browse files
author
Daniel OBrien
committed
fix up types
1 parent de02914 commit 60f7353

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ldai/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ def to_metrics(self) -> TokenMetrics:
5959
'output': self.completion_tokens,
6060
}
6161

62+
@dataclass
6263
class BedrockTokenUsage:
6364
def __init__(self, data: dict):
6465
self.totalTokens = data.get('totalTokens', 0)

0 commit comments

Comments
 (0)