CaIon
9ef7740fe7
feat(file): unify file handling with a new FileSource abstraction for URL and base64 data
2026-02-04 18:23:17 +08:00
CaIon
16d8055397
feat: add support for jfif image format in file decoder
2026-02-02 21:36:08 +08:00
Seefs
e1c7a4f41f
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
CaIon
56fc3441da
feat(monitor_setting): implement automatic channel testing configuration
2025-09-03 14:00:52 +08:00
CaIon
732e5d2661
fix: correct argument passing in DoDownloadRequest for MIME type retrieval
2025-08-16 15:03:42 +08:00
CaIon
5d6fac69c4
feat: implement file type detection from URL with enhanced MIME type handling
2025-08-16 14:56:29 +08:00
CaIon
0bb43aa464
refactor: update function signatures to include context and improve file handling #1599
2025-08-15 18:40:54 +08:00
CaIon
0199896d9a
fix(relay): improve error handling for unsupported MIME types by sanitizing URLs
2025-06-17 22:40:41 +08:00
CaIon
edd9049100
feat(file_decoder): expand MIME type detection to include additional file extensions
2025-06-17 22:20:19 +08:00
CaIon
290c763901
feat(file_decoder): add debug logging for MIME type detection when handling application/octet-stream
2025-06-17 22:18:51 +08:00
CaIon
226446a3b5
feat(file_decoder): enhance MIME type detection based on URL and Content-Disposition header
2025-06-17 21:49:13 +08:00
CaIon
8a2332074f
refactor: move maxFileSize variable inside GetFileBase64FromUrl function
2025-04-11 15:53:23 +08:00
CalciumIon
2b38e8ed8d
feat: add multi-file type support for Gemini and Claude
...
- Add file data DTO for structured file handling
- Implement file decoder service
- Update Claude and Gemini relay channels to handle various file types
- Reorganize worker service to cf_worker for clarity
- Update token counter and image service for new file types
2024-12-29 00:00:24 +08:00