LibreChat/api
Danny Avila c9aaf502af
feat(saveImageFromUrl): Dynamic Extension Handling (#1514)
- Enhanced the `saveImageFromUrl` function to dynamically handle file extensions based on the content type of the fetched image.
- Replaced the method of appending a '.png' extension with a more robust approach using regular expressions and the path module.
- Allows for correct extension replacement or addition, ensuring filename consistency and compatibility with the actual image format.
- Prevents issues with double extensions (e.g., 'someimage.jpg.png') and aligns saved file types with their respective content types.
2024-01-07 15:22:33 -05:00
..
app feat(saveImageFromUrl): Dynamic Extension Handling (#1514) 2024-01-07 15:22:33 -05:00
cache 💫 feat: Config File & Custom Endpoints (#1474) 2024-01-03 09:22:48 -05:00
config 🐛 fix: Prevent Unnecessary Cloning of Symbols in Log Object (#1455) 2023-12-29 20:20:57 -05:00
lib 🔄 refactor: Consolidate Ask/Edit Controllers (#1365) 2023-12-15 15:47:40 -05:00
models 🧪 feat: Experimental: Enable Switching Endpoints Mid-Conversation (#1483) 2024-01-03 19:17:42 -05:00
server 🐛 fix: Load dotenv at Top of Call Stack (#1512) 2024-01-07 14:32:59 -05:00
strategies 🔥🚀 feat: CDN (Firebase) & feat: account section (#1438) 2023-12-29 21:42:19 -05:00
test fix: Enhance Test Coverage and Fix Compatibility Issues 👷‍♂️ (#1363) 2023-12-15 13:27:13 -05:00
utils 🔧 fix: langchain packages mismatch, mount config file for deploy-compose.yaml, silence config not found error (#1481) 2024-01-03 10:59:38 -05:00
jest.config.js fix: Enhance Test Coverage and Fix Compatibility Issues 👷‍♂️ (#1363) 2023-12-15 13:27:13 -05:00
jsconfig.json feat(api): initial Redis support; fix(SearchBar): proper debounce (#1039) 2023-10-11 17:05:47 -04:00
package.json 🔧 fix: langchain packages mismatch, mount config file for deploy-compose.yaml, silence config not found error (#1481) 2024-01-03 10:59:38 -05:00
typedefs.js 🛠️ fix: Error Message Parsing and ChatOpenAI credentials (#1482) 2024-01-03 14:26:13 -05:00