LibreChat/api/app/clients
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
..
agents refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
callbacks fix: Avoid Throwing Errors for Unsupported Token Count Endpoints 🪙 (#1356) 2023-12-15 02:40:15 -05:00
chains refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
document feat: ConversationSummaryBufferMemory (#973) 2023-09-26 21:02:28 -04:00
llm 🛠️ fix: Error Message Parsing and ChatOpenAI credentials (#1482) 2024-01-03 14:26:13 -05:00
memory refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00
output_parsers 🔥🚀 feat: CDN (Firebase) & feat: account section (#1438) 2023-12-29 21:42:19 -05:00
prompts 🧹fix: Handle Abort Message Edge Cases (#1462) 2023-12-30 12:34:23 -05:00
specs Release v0.6.5 (#1391) 2023-12-19 01:09:42 -05:00
tools feat(saveImageFromUrl): Dynamic Extension Handling (#1514) 2024-01-07 15:22:33 -05:00
AnthropicClient.js 🔄 refactor: Consolidate Ask/Edit Controllers (#1365) 2023-12-15 15:47:40 -05:00
BaseClient.js 🧪 feat: Experimental: Enable Switching Endpoints Mid-Conversation (#1483) 2024-01-03 19:17:42 -05:00
ChatGPTClient.js fix: Enhance Test Coverage and Fix Compatibility Issues 👷‍♂️ (#1363) 2023-12-15 13:27:13 -05:00
GoogleClient.js 📸 feat: Gemini vision, Improved Logs and Multi-modal Handling (#1368) 2023-12-16 20:45:27 -05:00
index.js ci(backend-review.yml): add linter step to the backend review workflow (#625) 2023-07-14 09:36:49 -04:00
OpenAIClient.js 💫 feat: Config File & Custom Endpoints (#1474) 2024-01-03 09:22:48 -05:00
PluginsClient.js 📸 feat: Gemini vision, Improved Logs and Multi-modal Handling (#1368) 2023-12-16 20:45:27 -05:00
TextStream.js refactor(api): Central Logging 📜 (#1348) 2023-12-14 07:49:27 -05:00