mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-16 15:43:13 +08:00
A single passthrough account made GetAvailableModels return nil for the whole group, so every other account's model_mapping was dropped from /v1/models and the Codex catalog. Treat passthrough accounts like unmapped ones: skip their (possibly stale) mapping and let supplementUnmappedOpenAIModels add the default set, while ordinary accounts' mappings still reach the list. Refs #6647, #7517