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
|
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 |
|