Sonnet 5.5 as the default AI model, and a model list with prices (1.6.1)
Settings -> AI picks the model from a list (utils/aiModels.js: Sonnet, Haiku, Opus 5.5 with list prices) or takes another model ID; choosing one fills in its prices. Blank prices use the built-in ones, and cache reads are metered at each model's own price. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,8 +52,10 @@ and `HUB_PUBLIC_KEY` (the public key shown in Hub → Settings) in Cross Events'
|
||||
## AI (Cross Events 2.0)
|
||||
|
||||
Sites call AI through the Hub (protocol §3b), so the Claude API key never leaves this server.
|
||||
Set it up in **Settings → AI**: the key, the model (Claude Haiku 5.5), its prices, the exchange rate
|
||||
and the default markup — AI stays off for every site until the key and exchange rate are saved;
|
||||
Set it up in **Settings → AI**: the key, the model (Claude Sonnet 5.5 by default; choosing one from the
|
||||
list fills in its prices, kept in `backend/src/utils/aiModels.js` — update that list in a release when
|
||||
Anthropic's prices change), the exchange rate and the default markup — AI stays off for every site
|
||||
until the key and exchange rate are saved;
|
||||
**Test the saved key** checks them. Each licence has a monthly **AI cap** in rand (0 = off) and an
|
||||
optional markup override, on the customer's page. The cap counts what the church is charged
|
||||
(real cost plus markup); the Hub checks the worst case before every call, so a month can't run over.
|
||||
|
||||
Reference in New Issue
Block a user