mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-16 06:53:30 +08:00
M6: New applyAccountStatsCost() helper in account_stats_pricing.go replaces
identical upstream-model-fallback + resolveAccountStatsCost() call sites
in both gateway_service.go and openai_gateway_service.go
M11: postUsageBilling legacy path no longer calls finalizePostUsageBilling,
fixing the double-queue bug (QueueDeductBalance was called twice if the
fallback path was ever reached). Added NOTE comment documenting the split.