https://discord.gg/botpress logo
Are KB agents down? My 'Query KB' card
# 🌎general
n
Are KB agents down? My 'Query KB' card seems to work for a while then randomly stop. They seem to be really buggy. Anyone have a work around for this?
b
do your logs have any information? things don't usually 'randomly stop'
n
Hey Robert! I'm having some issues with my Autonomous card. I have everything enabled and a KB but it won't speak. Only error messages. It has worked until it randomly stopped when I published the bot. If I can give any other information to help you answer please let me know. Error message(s) error: Identifier 'name' has already been declared. (13:6) No iterations found
b
what model are you using?
b
can you show me the iterations, as well as your autonomous node?
n
Also getting this error - Skipping KB: disabled for the current turn
b
"Inspect"?
ah, nevermind, I see the problem
what happens after you ask a question?
b
the inspect button is there to give you more insights on why this is happening
This is what the inspect button says...
b
in the first conversation I see that no KB was selected, and in the second you didn't ask it a question
what happens when you ask it a question?
b
what do the logs in the event debugger say, at the point where you transition to the autonomous node?
& for debugging, can you try to set up a very simple workflow on a new bot?
b
a bit lower, this shows up until you're waiting to select 'i have a question'
b
hm, okay, thank you for nailing that down
did it work in a new bot?
b
well, good news/bad news
I was able to replicate this bug - it is indeed because you have a workflow variable called 'name'
delete this variable, and/or rename it something else
n
There we go! Thanks a lot Robert, really appreciate you taking the time to help me out.
b
no, I appreciate you taking the time to think through this with me
we'll probably need to resolve this anyway!
n
Glad I could bring it to your attention. Enjoy the rest of your day!
19 Views