Bot freezing in loop KB question, note that Summer...
# 🤝help
a
@bumpy-butcher-41910 bot freezes, three dots never stop, logs: Apr 16, 2024, 11:38:46 PM Extracted Questions: line: 'L10', raw_question: 'what is the price', resolved_question: 'what is the price?', search_query: 'current price of the item' Timestamp Apr 16, 2024, 11:38:46 PM Level INFO Apr 16, 2024, 11:38:46 PM [40e02de890] [agent-hook] [KnowledgeAgent] [conversation_turn_started]: Extracted 1 questions from user message Apr 16, 2024, 11:38:47 PM Error parsing template "conversation.SummaryAgent.summary" TypeError: Cannot read properties of undefined (reading 'summary') at eval (eval at (/var/task/customer_code.js:201:25532), :3:34) at evalWith (/var/task/customer_code.js:201:25573) at /var/task/customer_code.js:201:26380 at Array.forEach () at renderTemplate (/var/task/customer_code.js:201:26362) at Object.renderRecursive (/var/task/customer_code.js:201:26222) at Object.renderDynamicText (/var/task/customer_code.js:920:8706) at answer (/var/task/customer_code.js:846:1074) at handler (/var/task/customer_code.js:846:4236) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 418 Apr 16, 2024, 11:38:47 PM Error parsing template "conversation.SummaryAgent.transcript" TypeError: Cannot read properties of undefined (reading 'transcript') at eval (eval at (/var/task/customer_code.js:201:25532), :3:34) at evalWith (/var/task/customer_code.js:201:25573) at /var/task/customer_code.js:201:26380 at Array.forEach () at renderTemplate (/var/task/customer_code.js:201:26362) at Object.renderRecursive (/var/task/customer_code.js:201:26222) at Object.renderDynamicText (/var/task/customer_code.js:920:8706) at answer (/var/task/customer_code.js:846:1074) at handler (/var/task/customer_code.js:846:4236) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) https://cdn.discordapp.com/attachments/1229892666679099412/1229892666943213588/image.png?ex=663155ce&is=661ee0ce&hm=470bbe71e34964ddc601e51f796f320c2a29f415df657da8435508bf9918c287&
b
hm strange
can you try turning off the summary agent?
a
It seems to work when the summary agent is on but I had the problem with summary agent off
c
@bumpy-butcher-41910 I am getting a similar error a lot in my Bot, still in dev, with just 2 users. I saw this message and tried turning on/off the summary agent, without any changes in the behavior. How can I track down this : /var/task/customer_code.js ? or to learn if it's from Botpress code itself ? I hope @acceptable-smartphone-22753 has overcome this issue so far ! https://cdn.discordapp.com/attachments/1229892666679099412/1258425293882785802/image.png?ex=6687ff62&is=6686ade2&hm=77097a867132d0ab7e9d2aca3ddd45864c519d0318cdb68dbef53e4b3f766f58&
2 Views