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> |
||
|---|---|---|
| .. | ||
| adapters | ||
| application | ||
| domain | ||
| file | ||
| health | ||
| infrastructure/database/postgres/entities | ||
| app.module.ts | ||
| main.ts | ||