Class: SpreeMenuChat::TokenUsage

Inherits:
Object
  • Object
show all
Defined in:
app/models/spree_menu_chat/token_usage.rb

Overview

A running total of Gemini generation tokens spent for one (store, date) pair. SpreeMenuChat::TokenBudget is the only thing that should read/write this directly.