Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
test_record_agent_error
Method · 0.80
Calls
2
ErrorEvent
Class · 0.90
record
Method · 0.80
Tested by
1
test_record_agent_error
Method · 0.64