MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / record_error

Method record_error

app/e2e/sdk-api/src/agents/multi_agents.py:23–24  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

21 return res.choices[0].message.content
22
23 def record_error(self):
24 agentops.record(ErrorEvent(details="Test error"))
25
26 @record_function(event_name="add_two_record_action")
27 def record_action(self, a: int, b: int):

Callers 1

Calls 2

ErrorEventClass · 0.90
recordMethod · 0.80

Tested by 1