Files
Cli-Proxy-API-Management-Ce…/src
T
LTbinglingfeng 5a69c8c9b6 refactor(providers): simplify section and array payload extraction
Backend list endpoints (config_lists.go: GetGeminiKeys / GetClaudeKeys /
GetCodexKeys / GetOpenAICompat / GetVertexCompatKeys) always wrap the
result as {"<kebab-section>": [...]}, never as a raw array, never under
"items" or "data". And /config emits the same kebab keys, so the camelCase
aliases (geminiApiKey, openAICompatibility, ...) are unreachable.

Remove RAW_SECTION_ALIASES and inline the lookup; drop the raw-array
and items/data fallbacks from extractArrayPayload.
5a69c8c9b6 · 2026-05-28 00:36:50 +08:00
History
..
2026-05-24 01:08:04 +08:00
2026-05-24 01:08:04 +08:00