llm.rs

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