Catch and show exceptions in AI Agent Explorer

Created on 11 June 2025, 22 days ago

Problem/Motivation

Currently the AI Agent Explorer has a network error when you run into an exception when you are developing an agent.

The problem is that you have to open network tools to see the error. It would help a lot if the exception is shown instead on the page when this happens.

Steps to reproduce

Create a tool or change a tool to throw and exception.
Create an agent with that tool and a prompt to always runt this tool.
Run the agent in AI Agent Explorer.

Proposed resolution

Add a try catch to the whole runner.
Return the message and the stacktrace as ajax output.

📌 Task
Status

Active

Version

1.1

Component

Code

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024