Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AgentOps-AI/agentops
/ get_virtual_env
Function
get_virtual_env
agentops/helpers/system.py:96–100 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
95
96
def
get_virtual_env():
97
try
:
98
return
{
"Virtual Environment"
: os.environ.get(
"VIRTUAL_ENV"
, None)}
99
except
:
100
return
{}
101
102
103
def
get_os_details():
Callers
1
get_host_env
Function · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…