文件历史

3 次代码提交

作者 SHA1 备注 提交日期
yf a9c9ee95a2 fix: AI caption falls back to text-based description when model lacks vision
Platform default model (deepseek-v4-pro) only supports text input.
Now tries vision first, falls back to filename-based description.
2026-08-07 15:47:43 +08:00
yf bfc07e2546 feat: add photo album at /album with AI image captioning
Merged into file-hub to share the same environment (platform resource
quota limits to one web_function). Routes: /api/photos/upload,
/api/photos, /api/photos/:id/url, /api/photos/:id/ai-caption.
2026-08-07 15:45:19 +08:00
yf 8a3eaddc09 feat: personal file hub with upload/download/share + AI streaming chat
- web_function on WeHub Cloud (PG + object_storage + model_router)
- File upload via presigned PUT URLs, download, share links, delete
- AI streaming Q&A via SSE from model_router (OpenAI-compatible)
- Drag-and-drop file upload UI, markdown-rendered chat responses
2026-08-06 17:41:50 +08:00