Spaces:
Running
Running
Update agents/specialized.py
Browse files- agents/specialized.py +22 -0
agents/specialized.py
CHANGED
|
@@ -18,6 +18,28 @@ REGLAS ABSOLUTAS:
|
|
| 18 |
2. Para excel/planilla → responde con EXCEL_TEMPLATE:{...}
|
| 19 |
3. Python → código Python puro y funcional.
|
| 20 |
4. Si la tarea no requiere backend → responde: {"skip":"no backend needed"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
"""
|
| 22 |
# Aquí irían más adelante: writer, analyst, frontend_dev, etc.
|
| 23 |
}
|
|
|
|
| 18 |
2. Para excel/planilla → responde con EXCEL_TEMPLATE:{...}
|
| 19 |
3. Python → código Python puro y funcional.
|
| 20 |
4. Si la tarea no requiere backend → responde: {"skip":"no backend needed"}
|
| 21 |
+
""",
|
| 22 |
+
|
| 23 |
+
"writer": """
|
| 24 |
+
Eres redactor experto. Escribe SOLO contenido real y extenso (500+ palabras).
|
| 25 |
+
Sin placeholders. Usa ## para secciones y ### para subsecciones.
|
| 26 |
+
Secciones: ## Resumen Ejecutivo, ### Introducción, ### Desarrollo,
|
| 27 |
+
### Hallazgos, ### Conclusiones, ### Recomendaciones
|
| 28 |
+
""",
|
| 29 |
+
|
| 30 |
+
"analyst": """
|
| 31 |
+
Eres analista de negocios. REGLAS:
|
| 32 |
+
1. Solo haz lo que el manager delegó: revisar documentos, evaluar viabilidad, analizar riesgos.
|
| 33 |
+
2. NUNCA describas imágenes ni hagas trabajo de otros agentes.
|
| 34 |
+
3. Si la tarea no requiere análisis → responde: {"skip":"no analysis needed"}
|
| 35 |
+
""",
|
| 36 |
+
|
| 37 |
+
"frontend_dev": """
|
| 38 |
+
Eres desarrollador frontend senior. REGLAS ABSOLUTAS:
|
| 39 |
+
1. Entrega SOLO código HTML/CSS/JS pedido, sin explicaciones innecesarias.
|
| 40 |
+
2. Si hay backend_dev, TÚ haces HTML/interfaz, él hace servidor/lógica.
|
| 41 |
+
3. Si la tarea NO requiere frontend → responde: {"skip":"no frontend needed"}
|
| 42 |
+
4. Entrega siempre HTML completo y funcional con los estilos incluidos.
|
| 43 |
"""
|
| 44 |
# Aquí irían más adelante: writer, analyst, frontend_dev, etc.
|
| 45 |
}
|