Good evening!
How can I hide or mask error messages during an agent run? I want to prevent end-users from seeing debug info, such as my prompts, when an error occurs.
Good evening!
How can I hide or mask error messages during an agent run? I want to prevent end-users from seeing debug info, such as my prompts, when an error occurs.
Hi @estevankmp,
Unfortunately, there’s no way to hide or mask error messages from end users at the moment. When a run fails, the debug output is visible to the user running the agent.
I’ve submitted a feature request for our engineers to consider in future updates.
Isn’t possible to customize the error message just to not show the prompts or other sensitive information about the Agent?
Hi @estevankmp,
I’m afraid error message customization isn’t available at the moment.
I’m happy to take a look at what’s causing the errors in the first place. Fixing the root cause would prevent the messages from appearing at all.
Feel free to share your agent ID along with the errors you’re running into, and I’ll take a closer look.