Commit Graph

4 Commits

Author SHA1 Message Date
wh
3892c6e60f docs: apply eng review findings to design doc and impl plan
Architecture fixes:
- Image QA: presigned URL → base64 (RustFS is internal, GLM-4V is cloud)
- Add GET /health endpoint + Docker healthcheck
- Video size limit: add get_object_size() to StorageClient ABC, check before background task
- Video size configurable via MAX_VIDEO_SIZE_MB env var (no image rebuild needed)
- Fix image_service.py except clause redundancy (Exception absorbs KeyError/TypeError)

Config additions:
- video.max_file_size_mb: 200 in config.yaml
- MAX_VIDEO_SIZE_MB env override in _ENV_OVERRIDES
2026-04-10 14:34:41 +08:00
wh
f9f84937db docs: add AI service implementation plan
22 tasks covering all 8 endpoints with TDD. Each task includes
test code, implementation code, run commands, and commit step.
2026-04-10 14:15:38 +08:00
wh
f5a43a4bbc docs: add AI service design document v1.0
Covers architecture, adapter layer (LLMClient/StorageClient ABC),
all 8 API endpoints with request/response schemas, service layer logic,
config strategy (config.yaml + .env), logging, exception handling,
RustFS path conventions, and Docker deployment.
2026-04-10 14:02:26 +08:00
wh
54d7a8bf55 first commit 2026-04-08 17:18:43 +08:00