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 name of the feature flag that bypasses the account age check.
11pub const BYPASS_ACCOUNT_AGE_CHECK_FEATURE_FLAG: &str = "bypass-account-age-check";
12
13/// The minimum account age an account must have in order to use the LLM service.
14pub const MIN_ACCOUNT_AGE_FOR_LLM_USE: chrono::Duration = chrono::Duration::days(30);
15
16/// The default value to use for maximum spend per month if the user did not
17/// explicitly set a maximum spend.
18///
19/// Used to prevent surprise bills.
20pub const DEFAULT_MAX_MONTHLY_SPEND: Cents = Cents::from_dollars(10);