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