mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 08:05:12 +00:00
Add a channel-level toggle (features_config.expose_response_model, off by default). When enabled, regular users see the final response model next to the requested model in their usage records; the intermediate mapping chain stays admin-only. - Channel.IsResponseModelExposed + ChannelService.ResponseModelExposedChannels read from the in-memory channel cache, so no extra DB queries - User usage list/detail fill the new optional response_model field (upstream_response_model -> upstream_model -> model, omitted when equal to the requested model) - Channel form toggle, UsageTable rendering and i18n Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>