mirror of
https://gitcode.com/JianFeeeee/ModelRouter.git
synced 2026-09-20 00:48:00 +00:00
- extract csvHeaders() (Content-Type + Content-Disposition) shared by both export branches - extract exportKey(): the identical admin/user key-filter logic existed twice (JSON path + keys-csv); now all three call sites share one function - inline the nine single-use intermediate variables in the keys-csv loop