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

Function agentops_session

app/api/tests/smoke.py:14–20  ·  view source on GitHub ↗

Create an agentops session

(agentops_init)

Source from the content-addressed store, hash-verified

12
13@pytest.fixture
14def agentops_session(agentops_init):
15 """Create an agentops session"""
16 session = agentops.start_session()
17
18 assert session, "Failed agentops.start_session() returned None."
19 yield session
20 agentops.end_all_sessions()
21
22
23def test_logs_read_write_to_session(agentops_session: Session):

Callers

nothing calls this directly

Calls 1

start_sessionMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…