Managing multiple concurrent traces and sessions
init()
function will look for an environment variable named AGENTOPS_API_KEY
. Or…
<your_agentops_key>
below and pass in the optional api_key
parameter to the AgentOps init(api_key=...)
function. Remember not to commit your API key to a public repo!
start_trace()
and end_trace()
:
MultiSessionException
or similar restrictions