Model tiers: per-model credits and premium/vip roles
LLM_MODELS entries are now model[=credits][@role]. The default tiers follow the model comparison rated by an astrologer: Claude Haiku 5.5 (free, 1 credit), GPT-5.6 Terra (premium, 3 credits), Claude Opus 5.5 (vip, 10 credits). VIP includes premium, admins may use every model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -116,7 +116,7 @@ async fn public_config(State(state): St) -> Json<Value> {
|
||||
"google_login": { "enabled": state.google.enabled(), "client_id": c.google_client_ids.first() },
|
||||
"locales": c.supported_locales,
|
||||
"llm_models": c.llm_models,
|
||||
"analysis_cost": c.analysis_cost,
|
||||
"default_model": c.llm_models[0].id,
|
||||
"monthly_free_credits": c.monthly_free_credits,
|
||||
"password_min_length": crate::auth::MIN_PASSWORD_LEN,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user