Commit Graph
19 Commits
Author SHA1 Message Date
MarSeventh 2d83c9cd04 Bug:修复HF渠道上传较大文本文件栈溢出的错误 2026-03-08 21:58:32 +08:00
MarSeventh 2c1ff7241b 目录树设置和体验优化 2026-03-01 11:25:39 +08:00
MarSeventh 3dcf08e8b2 目录树设置和体验优化 2026-03-01 11:13:43 +08:00
axibayuit 4ae6989e60 fix: pass oid to uploadMultipart for multipart complete request 2025-12-30 21:17:28 +08:00
axibayuit 01434ddd38 feat(huggingface): implement direct upload for large files (>20MB)
- Add frontend direct upload to HuggingFace S3, bypassing CF Workers limits
- Add /api/huggingface/getUploadUrl endpoint to get LFS upload URLs
- Add /api/huggingface/commitUpload endpoint to commit file references
- Support multipart upload for very large files
- SHA256 computed in frontend to avoid CF Workers CPU timeout
- Small files (<20MB) still use proxy upload through CF Workers
2025-12-30 20:42:38 +08:00
axibayuit b1af1a92bb feat: optimize HuggingFace upload - compute SHA256 on frontend to avoid CF Workers CPU timeout 2025-12-30 20:31:33 +08:00
axibayuit 5b85007d80 feat: implement native LFS upload protocol for HuggingFace (no external SDK) 2025-12-30 20:08:28 +08:00
axibayuit d564f81f5b fix: update HuggingFace SDK to v0.23.0 and disable Xet/WebWorkers for CF Workers compatibility 2025-12-30 20:04:25 +08:00
axibayuit 041f1888ea fix: use NDJSON format for HuggingFace commit API 2025-12-30 19:57:50 +08:00
axibayuit 088d3d78bc fix: use string fields instead of JSON blob for HuggingFace commit API 2025-12-30 19:52:36 +08:00
axibayuit c1e4442be3 fix: correct HuggingFace commit API format - header as JSON blob 2025-12-30 19:46:36 +08:00
axibayuit e0a54925db fix: use POST commit API with multipart form data for HuggingFace upload 2025-12-30 19:42:10 +08:00
axibayuit cbe352cac8 fix: simplify HuggingFace upload - direct PUT without encoding 2025-12-30 18:58:06 +08:00
axibayuit 82d03cf0b9 fix: use multipart form upload for HuggingFace to avoid CPU timeout 2025-12-30 18:48:25 +08:00
axibayuit a5251f898c fix: use direct binary upload instead of base64 to avoid CPU timeout 2025-12-30 18:44:42 +08:00
axibayuit ad8c5ac9cd fix: use correct HuggingFace commit API format with base64 encoding 2025-12-30 18:22:17 +08:00
axibayuit ffd0b0d3da fix: use simple upload API for HuggingFace 2025-12-30 18:06:09 +08:00
axibayuit 2a95a975bc fix: update HuggingFace API to use LFS upload method 2025-12-30 18:05:05 +08:00
axibayuit 2df7e1ebea feat: add HuggingFace storage channel support
- Add HuggingFace API wrapper class (huggingfaceAPI.js)
- Support upload, download, delete operations via HuggingFace Hub API
- Support public repos (unlimited storage) and private repos (100GB limit)
- Private repos: server proxies requests with Authorization header
- Auto-create repo if not exists (with write token)
- Add HuggingFace to auto-retry channel list
- Environment variables: HF_TOKEN, HF_REPO, HF_PRIVATE
- Support load balancing for multiple HuggingFace channels
2025-12-30 17:46:11 +08:00