• erio's avatar
    fix: address audit findings - cache sync, validation, consistency · 9b213115
    erio authored
    - clearCreditsExhausted: sync Redis scheduler cache after DB update
    - Image billing mode UI: write to per_request_price instead of image_output_price
    - OpenAI RecordUsage: use BillingModelSourceRequested constant, add s.cfg nil guard
    - Fix i18n key path: admin.channels.perRequestPriceRequired → admin.channels.form.perRequestPriceRequired
    9b213115
openai_gateway_service.go 153 KB