mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-17 22:57:27 +00:00
Summary • Added visual model icons to dropdown options in both Token (`EditToken.js`) and Channel (`EditChannel.js`) editors. Details 1. Token Editor - Imported `getModelCategories` from helpers. - Re-built Model Limits option list to prepend the matching icon to each model label. 2. Channel Editor - Imported `getModelCategories`. - Extended model‐option construction to include icons, unifying behaviour with Token editor. - Maintained existing logic for merging origin options and user-selected models. Benefits • Provides immediate visual identification of model vendors. • Aligns UX with existing icon usage across the application, improving consistency and clarity. • No functional changes to data handling; purely UI/UX enhancement. Co-authored-by: [Your Name]