llm.rs

 1pub mod db;
 2mod token;
 3
 4use crate::Cents;
 5
 6pub use token::*;
 7
 8/// The maximum monthly spending an individual user can reach on the free tier
 9/// before they have to pay.
10pub const FREE_TIER_MONTHLY_SPENDING_LIMIT: Cents = Cents::from_dollars(10);
11
12/// The default value to use for maximum spend per month if the user did not
13/// explicitly set a maximum spend.
14///
15/// Used to prevent surprise bills.
16pub const DEFAULT_MAX_MONTHLY_SPEND: Cents = Cents::from_dollars(10);