Repository navigation
Commit 4df8be6
authored
fix(onboard): skip Brave prompt for Hermes (#2859)
## Summary
- explicitly disables the NemoClaw Brave Web Search prompt when the
selected agent is Hermes
- keeps Dockerfile-based web-search detection for Brave-capable agents
such as OpenClaw
- updates onboard helper coverage so a Hermes custom Dockerfile does not
accidentally re-enable the Brave prompt
## Testing
- npm run build:cli
- npm run typecheck:cli
- npm test -- test/onboard.test.ts
- git diff --check
- Targeted onboarding E2E requested by CodeRabbit: queued in
https://github.com/NVIDIA/NemoClaw/actions/runs/25234837342
(`cloud-e2e,sandbox-operations-e2e,rebuild-openclaw-e2e`)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Hermes agent no longer reports or offers web-search capability in the
onboarding flow, so Brave web-search configuration will not be presented
for Hermes. Related tests have been updated to reflect this behavior. No
public APIs or exported interfaces were changed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent fd240ff commit 4df8be6
2 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1770 | 1770 | | |
1771 | 1771 | | |
1772 | 1772 | | |
| 1773 | + | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
1773 | 1780 | | |
1774 | 1781 | | |
1775 | 1782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1154 | 1154 | | |
1155 | 1155 | | |
1156 | 1156 | | |
1157 | | - | |
| 1157 | + | |
1158 | 1158 | | |
1159 | 1159 | | |
1160 | 1160 | | |
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | | - | |
| 1166 | + | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
| |||
0 commit comments