Commit Graph

18 Commits

Author SHA1 Message Date
eeee0717 721a255a22 fix(FileStorage): add check for existing directory before deletion 2025-03-26 09:51:58 +08:00
suyao bbdcd22a4a fix(FileStorage): update base64File method to return base64 string instead of Buffer 2025-03-25 17:45:51 +08:00
suyao 5fe4bf3f19 feat(OCR): implement Mistral OCR provider and enhance file handling
- Introduced MistralOcrProvider for processing OCR tasks with Mistral API.
- Updated BaseOcrProvider to return LocalFileSource in parseFile method.
- Enhanced file upload and retrieval logic in MistralService.
- Added support for local file source handling in various services.
- Updated preload API and type definitions to accommodate new OCR provider functionalities.
2025-03-24 12:38:07 +08:00
eeee0717 d787dc140e feat(knowledge-ocr): optimize and clean code 2025-03-22 16:00:53 +08:00
Hao He 8b2c1cbe99 Fix/fs-rmdir-deprecation (#3296) 2025-03-13 20:45:45 +08:00
kangfenmao db636e4b5a fix: Improve topic context in history search and messages
Update SearchMessage and TopicMessages components to pass topic context to MessageItem, ensuring proper rendering of messages with their associated topics
2025-03-09 22:04:35 +08:00
George·Dong bdf85c68d1 fix: Correct MIME type for JPG images for Gemini 2.0 Pro 2025-03-09 17:37:02 +08:00
kangfenmao 9e9c954560 refactor: Extract file path utility functions
Move hardcoded file path generation logic to dedicated utility functions in file.ts, improving code modularity and reducing duplication across services and IPC handlers
2025-03-09 17:33:46 +08:00
kangfenmao 670d66b01d fix: Convert file created_at to ISO string format
Ensure consistent string representation of file creation timestamps across file storage and type definitions
2025-03-09 17:21:57 +08:00
kangfenmao 306cb04ef0 fix: siliconflow image url with query params #844
close #844
2025-01-24 09:31:31 +08:00
Nanami bc454d4dec feat: add support for qwenlm and image upload (#726)
* feat: add support for qwenlm and image upload

* fix: qwenlm return

* feat: add provider config
2025-01-14 18:59:19 +08:00
kangfenmao 34ebab0af8 refactor: knowledge base database engine 2024-12-25 17:42:03 +08:00
kangfenmao 35fd5aef22 fix: knowledge bugs 2024-12-23 10:48:40 +08:00
kangfenmao ca6027dd83 feat: remove knowledge queue 2024-12-19 13:45:11 +08:00
kangfenmao 7f2f3ad88a refactor: shortcuts feature 2024-12-03 10:23:53 +08:00
kangfenmao 33d5da7325 feat: clear app cache 2024-11-25 11:16:24 +08:00
kangfenmao 568d4814e3 feat: remove image compress 2024-11-03 01:26:00 +08:00
kangfenmao 9468f3b511 refactor: main code 2024-11-02 23:32:59 +08:00