Skip to content
4 changes: 2 additions & 2 deletions examples/agent_framework_integrations/crewai/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
environment={
"OPENAI_API_KEY": os.getenv("OPENAI_API_KEY"),
# Set home directory to a writable location for CrewAI storage
"HOME": "/tmp",
"HOME": "/tmp", # nosec B108 - Docker env var, not insecure file operation
# Alternative: override the specific appdirs behavior
"XDG_DATA_HOME": "/tmp/.local/share",
"XDG_DATA_HOME": "/tmp/.local/share", # nosec B108 - Docker env var, not insecure file operation
},
)

Expand Down
2 changes: 1 addition & 1 deletion examples/agent_framework_integrations/haystack/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
environment={
"OPENAI_API_KEY": os.getenv("OPENAI_API_KEY"),
# Set home directory to a writable location for Haystack storage
"HOME": "/tmp",
"HOME": "/tmp", # nosec B108 - Docker env var, not insecure file operation
# Override Haystack-specific environment variables
"HAYSTACK_CONTENT_TRACING_ENABLED": "false",
"HAYSTACK_TELEMETRY_ENABLED": "false",
Expand Down
Loading