Skip to content
4 changes: 4 additions & 0 deletions nemoclaw-blueprint/policies/presets/local-inference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ network_policies:
binaries:
- { path: /usr/local/bin/openclaw }
- { path: /usr/local/bin/claude }
- { path: /usr/local/bin/node }

Copilot AI Apr 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The preset adds /usr/local/bin/node but not /usr/bin/node (or a node* glob). Other presets (e.g., nemoclaw-blueprint/policies/presets/npm.yaml:27-33) allow both locations, and Debian/alternative Node installs may place node under /usr/bin. To avoid the local-inference preset still returning 403 for node-based clients in those environments, include /usr/bin/node (or /usr/bin/node*).

Suggested change
- { path: /usr/local/bin/node }
- { path: /usr/local/bin/node }
- { path: /usr/bin/node }

Copilot uses AI. Check for mistakes.
- { path: /usr/bin/node } # alternative Node install path (apt-installed)
- { path: /usr/bin/curl }
- { path: /usr/bin/python3 } # apt-installed python3 (Dockerfile.base: python3=3.11.2)