mirror of
https://github.com/langgenius/dify.git
synced 2026-02-13 07:01:23 -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.