mirror of
https://github.com/langgenius/dify.git
synced 2026-02-14 10:01:40 -05:00
Enhance getFileIconType to accept an extension parameter and cover all 13 FileAppearanceTypeEnum types using an O(1) Map lookup. Update all call sites to pass the API-provided extension for accurate icon display.