mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 16:07:33 +00:00
- save-time gate on admin account create/update (and AccountService, which has no production consumers but is the spec-mandated location): non-empty model_mapping values and empty-mapping allowed_models lists must all resolve via GetModelPricing, otherwise 400 MODEL_PRICING_MISSING - request-time gate: ollama_cloud accounts no longer fall into the global zero-cost path when pricing is unavailable; explicit 4xx instead - operational preflight SQL documented as comments (not a migration) - include ollama_cloud in the billing model candidate filter (S1) so claude-* names can no longer be priced at Anthropic rates for this platform - keep ollama_cloud out of the LiteLLM platform map on purpose (comment only) - refresh a stale comment in upstream_billing_probe.go