iconsulting/packages/services/file-service
hailin e867ba5529 fix(files): replace MinIO presigned URLs with API proxy + base64 for Claude
MinIO presigned URLs use Docker-internal hostname (minio:9000), making
them inaccessible from both Claude API servers and user browsers.

Changes:
- file-service: add /files/:id/content and /files/:id/thumbnail proxy
  endpoints that stream file data from MinIO
- file-service: toResponseDto now returns API proxy paths instead of
  MinIO presigned URLs
- coordinator: buildAttachmentBlocks now downloads files via file-service
  internal API (http://file-service:3006) and converts to base64 for
  Claude API (images, PDFs) or embeds text content directly
- Configurable FILE_SERVICE_URL env var for service-to-service calls

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 04:49:39 -08:00
..
src fix(files): replace MinIO presigned URLs with API proxy + base64 for Claude 2026-02-07 04:49:39 -08:00
Dockerfile fix(docker): fix vips package for Alpine 3.23 in file-service 2026-01-26 03:47:56 -08:00
nest-cli.json feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
package.json feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00
tsconfig.json feat(multimodal): add file upload and image support for chat 2026-01-10 05:34:41 -08:00