
This PR adds the `has_extended_trial` field to the LLM token claims. Release Notes: - N/A
18 lines
548 B
Rust
18 lines
548 B
Rust
pub mod db;
|
|
mod token;
|
|
|
|
use crate::Cents;
|
|
|
|
pub use token::*;
|
|
|
|
pub const AGENT_EXTENDED_TRIAL_FEATURE_FLAG: &str = "agent-extended-trial";
|
|
|
|
/// The maximum monthly spending an individual user can reach on the free tier
|
|
/// before they have to pay.
|
|
pub const FREE_TIER_MONTHLY_SPENDING_LIMIT: Cents = Cents::from_dollars(10);
|
|
|
|
/// The default value to use for maximum spend per month if the user did not
|
|
/// explicitly set a maximum spend.
|
|
///
|
|
/// Used to prevent surprise bills.
|
|
pub const DEFAULT_MAX_MONTHLY_SPEND: Cents = Cents::from_dollars(10);
|