MCPcopy Create free account
hub / github.com/promptfoo/promptfoo / getenv

Method getenv

src/python/persistent_wrapper_test.py:265–268  ·  view source on GitHub ↗
(name, default=None)

Source from the content-addressed store, hash-verified

263 sdk_trace_module.export = sdk_trace_export_module
264
265 def getenv(name, default=None):
266 if name == "PROMPTFOO_ENABLE_OTEL":
267 return "true"
268 return default
269
270 fake_modules = {
271 "opentelemetry": opentelemetry_module,

Callers 14

_init_tracingFunction · 0.80
agent.pyFile · 0.80
_modelFunction · 0.80
agent_provider.pyFile · 0.80
provider.pyFile · 0.80
agent.pyFile · 0.80
agent_provider.pyFile · 0.80
write_metricsFunction · 0.80
model_call_patchFunction · 0.80
agent.pyFile · 0.80
ingest.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected