https://discord.gg/botpress logo
AI spend Spends on Standard nodes
# šŸ¤help
c
Hi everyone, My bot is ready to go live for a client, but I’m facing one critical issue: Even when users don’t interact with the AI conversation, the AI usage (token/spend) keeps increasing. What’s strange is that the logs aren’t showing any corresponding AI activity, but the spend continues to grow. This is happening across all LLMs I’ve tested. Has anyone encountered this before? Any idea what could be causing it or how to fix it? Would really appreciate your help!
w
it's normal if you're using some agents , like translation, summary agent etc
c
The thing is im not using and agent
only for translation, but I tried it on the default language that I set without translation
.
w
your summary agent is disabled ?
c
yep
w
what is your flow ? some capture information cards also use AI (very low consumption though
c
yeah im also using capture, but only for one thing to categorize the kind of patient
But it spends much more, it should spend
i cheked the pricing for each LLM im using deepseek v2 lite\
its spends so much on each convo that unfortntly i cant deliver it to my client like this; so i have to find the reason
w
At the end of each turn you can see AI consumption and track the origin
c
yeah in the AI usage, but it spends more then it should
p
Can you provide your workspace id and bot id?
c
yes off course Is that ok if will send it to you privately?
.
i mean on the DM
p
That information can't lead to anything excpet for botpress employees. I would suggest sending it here as it's easier to look back on.
c
Ok sure give me two min please
workspace ID: wkspace_01JWHB606DNN4RWK8WSYWREQMQ Bot ID: 1723464b-850e-4601-8c62-71a9d2019917
I must tell thats ive got the same issue with more clients so figuring it out will help me a lot, i will do anything thank you very much šŸ™‚
p
Looking into it!
c
tnx, i will wait for updates
p
Well, I've had an entire conversation (translated to english) and it cost 0.0014$. Is that different from the costs you are seeing because I don't believe the aforementioned one to be abnormally high? Also your summary agent alongside the knowledge, translator and vision agent are enabled. It seems to me like only the translator and summary agent are being used by your bot, so I would recommend diabling the others.
c
Did u use the autonode?
i mean autonumosnode
And where did you checked that in the logs Cause logs are showing correct costs
p
Yeah so my conversation was in the emulator and the associated logs are at the bottom of the window. If you are testing in the preview, the logs can be found in your dashboard.
I don't think that conversation used the AN, no.
c
Let's wait a bit to see if the AI spends increasing
Can u use the preview, please? In this way, I will be able to see the logs as well
Hi, did you try it through the preview?
p
You won't be able to see my conversation's logs as I essentially did a copy of your bot into my workspace.
Feel free to have a conversation and report your ai spend back to me though.
c
Still the same thing, I did a 6-message convo and it costs 0.2$ AI spend i did it on the whatsapp interface
is there any possiblity to hop on a call? this issue is very rare, and i dont have clue what is the problem, i really want to finaly deliver this project i will really appricate that
5 Views