-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Handle NULL values in cost and token calculations
- Initialize cost and token variables as None instead of 0.0/0 - Update database schema to remove DEFAULT values - Modify calculate_cost_and_tokens function to handle None values - Update report formatting to display "None" for NULL values - Improve metadata extraction with null safety checks Signed-off-by: pk-zipstack <[email protected]>
- Loading branch information
1 parent
fdffc5c
commit 00fcead
Showing
1 changed file
with
36 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters