Description
Description
Unable to run openclaw config set command. Seems like only get is supported currently
Environment
Device: DGX Spark
NemoClaw: v0.0.31
Steps to Reproduce
Pre-condition:
1. Running sandbox 'test-sb'
Steps:
1.nemoclaw my-assistant config set --key models.providers.inference.baseUrl --value 'http://169.254.169.254/latest/meta-data'
2.nemoclaw my-assistant config set --key models.providers.inference.baseUrl --value 'http://localhost:8080'
3.nemoclaw my-assistant config set --key models.providers.inference.baseUrl --value 'http://192.168.1.100/api'
4.nemoclaw my-assistant config set --key models.providers.inference.baseUrl --value 'https://api.openai.com/v1'
Pre-step (key validation): run `nemoclaw < name > config set --key invalid.path --value foo` BEFORE the SSRF URL list.
Expected Result
1. Rejected — URL validation failed: URL points to private/internal address "169.254.169.254". This could expose internal services to the sandbox.
2. Rejected — URL validation failed: URL points to private/internal address "localhost". This could expose internal services to the sandbox.
3. Rejected — URL validation failed: URL points to private/internal address "192.168.1.100". This could expose internal services to the sandbox.
4. Accepted — config updated, baseUrl changed to https://api.openai.com/v1
5. Accepted — config restored to https://inference.local/v1
- Key-path validation runs FIRST: `--key invalid.path` is rejected with a clear error before the SSRF URL validator ever runs. </td>
</tr>
</tbody>
</table>
</td>
</tr>
|
Actual Result
local-joychen@p4242-0081:~/NemoClaw$ nemoclaw my-assistant config set --key models.providers.inference.baseUrl --value 'https://api.openai.com/v1'
Usage: nemoclaw config get [--key dotpath] [--format json|yaml]
Bug Details
| Field |
Value |
| Priority |
Unprioritized |
| Action |
Dev - Open - To fix |
| Disposition |
Open issue |
| Module |
Machine Learning - NemoClaw |
| Keyword |
NemoClaw, NemoClaw_CLI&UX, NEMOCLAW_GH_SYNC_APPROVAL |
[NVB#6132434] |
Description
Description
Environment Steps to Reproduce Expected ResultBug Details
[NVB#6132434]