mirror of
https://github.com/langgenius/dify.git
synced 2026-03-01 05:48:40 +08: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.