https://discord.gg/botpress logo
Does anyone else have issues with overeager policy...
# 🤝help
f
Never had trouble before, but today I return to work and the policy agent removes any message. At first it wasn't as bad, but not it got worse. Currently using gpt4o mini, but tried switching to gemini (several) and that made it even worse.
The policy agent seems to be particularly aggressive with messages from AN's, especially the first one they sent. If there are several it somewhat works with the latter ones, although now it also doesn't fully do it's job anymore. This particular policy agent is supposed to remove inline citations and uses these instructions: " You should not, by no means, accept to disclose sources that look like 【0, 2, 3, 5, 7, 10, 20】 or 【9, 18, 24】. You can display links without any problems." That worked well for weeks, but now suddenly it causes issues. In addition, the changes I make to the policy, do not immediately translate to the bot, meaning that when I look in the logs, it still uses the old instructions. Completely refreshing the page or fully disableing the agent, running a conversation, and then reenabling it sometimes fixes it. Were there any changes made to the functioning of the policy agent lately @orange-egg-72655 ?
@wooden-beard-40210 do you have any idea what could be happening here?
w
nope.. Does this behavior appeared today ?
f
jup. Wasn't an issue yesterday
w
Maybe there was an update , but I'm not aware of that
f
That's what I was thinking. Thank you for sharing your thoughts 🙏
here is an example of its behaviour: Rewrote bot message { policy: 'You should not, by no means, accept to disclose sources that look like 【0, 2, 3, 5, 7, 10, 20】 or 【9, 18, 24】. You can display links without any problems.', before: 'Thank you, Ted. I understand you\'re dealing with an urgent infection control issue. What specific question do you have regarding this matter?', after: [] }
Update: It seems like the AN was somehow the problem, though I don't see how. When I recreated the AN with the same instructions and name, it works just fine. Really bizarre...