mirror of
https://github.com/marcogll/talia_bot.git
synced 2026-01-13 13:25:19 +00:00
This commit fixes a critical `ImportError` that prevented the bot from starting. The error was caused by the `agenda.py` module attempting to import calendar ID variables that were not being loaded into the application's configuration. The fix involves: - Updating `talia_bot/config.py` to correctly load the `WORK_GOOGLE_CALENDAR_ID` and `PERSONAL_GOOGLE_CALENDAR_ID` from the environment. - Removing the obsolete `CALENDAR_ID` variable from the configuration. - Updating `talia_bot/modules/calendar.py` to import and use the new, more specific `WORK_GOOGLE_CALENDAR_ID` as its default, ensuring consistency with the rest of the application.
27 lines
671 B
JSON
27 lines
671 B
JSON
{
|
|
"id": "admin_idea_capture",
|
|
"role": "admin",
|
|
"name": "💡 Capturar Idea",
|
|
"trigger_button": "capture_idea",
|
|
"steps": [
|
|
{
|
|
"step_id": 0,
|
|
"variable": "IDEA_CONTENT",
|
|
"question": "Te escucho. 💡 Las ideas vuelan...",
|
|
"input_type": "text_or_audio"
|
|
},
|
|
{
|
|
"step_id": 1,
|
|
"variable": "IDEA_CATEGORY",
|
|
"question": "¿En qué cajón mental guardamos esto?",
|
|
"options": ["💰 Negocio", "📹 Contenido", "👤 Personal"]
|
|
},
|
|
{
|
|
"step_id": 2,
|
|
"variable": "IDEA_ACTION",
|
|
"question": "¿Cuál es el plan de ataque?",
|
|
"options": ["✅ Crear Tarea", "📓 Guardar Nota"]
|
|
}
|
|
]
|
|
}
|