The flow
Starts it 1Model 5Logic 11Service 24
The steps in the order they run, from what starts it.
- 1Redis Chat MemoryMemory Redis ChatModel
- 2Redis Chat Memory1Memory Redis ChatModel
- 3Ollama Chat ModelLm Chat OllamaModel
- 4Telegram TriggerTelegram triggerStarts it
- 5AI Agent - chatAgentModel
- 6AI Agent - picAgentModel
- 7Set user telegram IDSetLogic
- 8Hold on a moment to allow redis propagationWaitLogic
- 9Send chat answerTelegramService
- 10Retrieve current contextRedisService
- 11Set-up the ComfyUI workflowCodeLogic
- 12Check user idIfLogic
- 13Reset context clone 2RedisService
- 14ComfyUI HTTP Request - startHttp RequestService
- 15Create base message formatSetLogic
- 16clone contextRedisService
- 17ComfyUI HTTP Request - checkHttp RequestService
- 18Get body definitionRedisService
- 19Check if image has been generatedIfLogic
- 20Get scene definitionRedisService
- 21ComfyUI HTTP Request - fetchHttp RequestService
- 22Check if ComfyUI erroredIfLogic
- 23Send initial typingTelegramService
- 24Send comfy picTelegramService
- 25Send pic errorTelegramService
- 26Send pic typingTelegramService
- 27Switch on command typeSwitchLogic
- 286. WaitWaitLogic
- 29reset existing contextRedisService
- 30pop messageRedisService
- 31Set body messageTelegramService
- 32Set body definitionRedisService
- 33Set scene messageTelegramService
- 34Set scene definitionRedisService
- 35Set base comfy entrySetLogic
- 36Set base ollama contextSetLogic
- 37Reset context cloneRedisService
- 38Send pop confirmationTelegramService
- 39Send body confirmationTelegramService
- 40Send scene confirmationTelegramService
- 41Send reset confirmationTelegramService