agentops icon indicating copy to clipboard operation
agentops copied to clipboard

add `end_trace()`

Open bboynton97 opened this issue 8 months ago • 0 comments

At the moment, there is no way to set a status code on a trace.

We previously assumed that the trace's status was fail if any span within the trace was a failure, but this isn't true.

We should be able to run something like agentops.end_trace(end_state='Success') to manually set the success status of the trace.

More conversation needed

bboynton97 avatar Apr 10 '25 16:04 bboynton97