Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdgsystem/models/usage_counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def estimate_usage(self, n):
remain_token_anticipation = int(avg_token * self.remain)
remain_time_anticipation = avg_time * self.remain

logger.info(f"[{self.name} Usage]: completed={self.completed}, token={self.token}, time={self.time:.2f} || remain={self.remain}, remain_token_anticipation={remain_token_anticipation}, remain_time_anticipatioin={remain_time_anticipation:.2f}")
logger.info(f"[{self.name} Usage]: completed={self.completed}, token={self.token}, time={self.time:.2f} || remain={self.remain}, remain_token_anticipation={remain_token_anticipation}, remain_time_anticipation={remain_time_anticipation:.2f}")

# call callback outside of lock to avoid deadlock
if self._on_update:
Expand Down