Conversation
…nation and simplify item details
josueJouvin
approved these changes
Dec 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumen
Implementa las mejoras solicitadas en el issue #64 para la generación de outfits con IA.
Cambios Realizados
1. 📝 Explicación Única Consolidada
overallExplanationen españoloverallExplanation2. 🖼️ URLs de Imágenes Incluidas
MultimediaService.getUrlImage()para generar URLs según el proveedor (Firebase/MinIO)Promise.all()para mejor rendimiento3. 🎯 Respuesta Simplificada
id- Identificador de la prendaname- Nombre de la prendaprimaryColor- Color primariosecondaryColor- Color secundarioimages- Array de URLs de imágenes4. 🔄 Nueva Estructura de Respuesta
Antes:
```json
{
"data": [
{
"explain": "Explicación individual...",
"wardrobeItem": { /* todos los campos */ }
}
]
}
```
Ahora:
```json
{
"data": {
"explanation": "Explicación global del outfit completo...",
"items": [
{
"id": "...",
"name": "...",
"primaryColor": "...",
"secondaryColor": "...",
"images": ["url1", "url2"]
}
]
}
}
```
Archivos Modificados
Validación
Cierra
Closes #64
🤖 Generated with Claude Code
Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com