Skip to content

Commit 2bb4287

Browse files
committed
feat(ui): inference --no-verify, OpenShell rebrand, NVIDIA green vars, fixed save bar, upgrade URL short name
1 parent 6daeacd commit 2bb4287

File tree

6 files changed

+148
-115
lines changed

6 files changed

+148
-115
lines changed

brev/launch.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,12 +568,12 @@
568568
set_inference_route() {
569569
log "Configuring inference route..."
570570

571-
if "$CLI_BIN" inference set --provider nvidia-endpoints --model minimaxai/minimax-m2.5 >/dev/null 2>&1; then
571+
if "$CLI_BIN" inference set --provider nvidia-endpoints --model minimaxai/minimax-m2.5 --no-verify >/dev/null 2>&1; then
572572
log "Configured inference via '$CLI_BIN inference set'."
573573
return
574574
fi
575575

576-
if "$CLI_BIN" cluster inference set --provider nvidia-endpoints --model minimaxai/minimax-m2.5 >/dev/null 2>&1; then
576+
if "$CLI_BIN" cluster inference set --provider nvidia-endpoints --model minimaxai/minimax-m2.5 --no-verify >/dev/null 2>&1; then
577577
log "Configured inference via legacy '$CLI_BIN cluster inference set'."
578578
return
579579
fi

brev/welcome-ui/__tests__/cluster-inference.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ describe("POST /api/cluster-inference", () => {
151151
expect(res.status).toBe(400);
152152
});
153153

154-
it("TC-CI10: calls nemoclaw cluster inference set with --provider and --model", async () => {
154+
it("TC-CI10: calls nemoclaw cluster inference set with --provider, --model, and --no-verify", async () => {
155155
execFile.mockImplementation((cmd, args, opts, cb) => {
156156
if (typeof opts === "function") { cb = opts; opts = {}; }
157157
cb(null, "", "");
@@ -170,5 +170,6 @@ describe("POST /api/cluster-inference", () => {
170170
expect(args).toContain("test-prov");
171171
expect(args).toContain("--model");
172172
expect(args).toContain("test-model");
173+
expect(args).toContain("--no-verify");
173174
});
174175
});

brev/welcome-ui/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,8 +1205,8 @@ async function handleClusterInferenceSet(req, res) {
12051205
try {
12061206
const result = await execFirstSuccess(
12071207
[
1208-
cliArgs("inference", "set", "--provider", providerName, "--model", modelId),
1209-
cliArgs("cluster", "inference", "set", "--provider", providerName, "--model", modelId),
1208+
cliArgs("inference", "set", "--provider", providerName, "--model", modelId, "--no-verify"),
1209+
cliArgs("cluster", "inference", "set", "--provider", providerName, "--model", modelId, "--no-verify"),
12101210
],
12111211
30000
12121212
);

sandboxes/openclaw-nvidia/nemoclaw-ui-extension/extension/inference-page.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,10 +297,10 @@ function buildGatewayStrip(): HTMLElement {
297297
tooltip.innerHTML = `
298298
<div class="nc-gateway-tooltip__row"><strong>Your Code</strong> sends requests to <code>inference.local</code></div>
299299
<div class="nc-gateway-tooltip__arrow">&darr;</div>
300-
<div class="nc-gateway-tooltip__row"><strong>NemoClaw Proxy</strong> intercepts, injects credentials</div>
300+
<div class="nc-gateway-tooltip__row"><strong>OpenShell Proxy</strong> intercepts, injects credentials</div>
301301
<div class="nc-gateway-tooltip__arrow">&darr;</div>
302302
<div class="nc-gateway-tooltip__row"><strong>Provider API</strong> receives authenticated request</div>
303-
<div class="nc-gateway-tooltip__footer">${ICON_LOCK} Enforced by the NemoClaw runtime. Cannot be changed from within the sandbox.</div>`;
303+
<div class="nc-gateway-tooltip__footer">${ICON_LOCK} Enforced by the OpenShell runtime. Cannot be changed from within the sandbox.</div>`;
304304
tooltip.style.display = "none";
305305

306306
let tooltipOpen = false;

sandboxes/openclaw-nvidia/nemoclaw-ui-extension/extension/model-registry.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,10 +383,13 @@ const UPGRADE_INTEGRATIONS_BASE = "https://build.nvidia.com/openshell/integratio
383383
/**
384384
* URL for upgrading the same model via an NVIDIA Cloud Partner.
385385
* Use when active route is NVIDIA free tier; pass current model id (e.g. qwen/qwen3.5-397b-a17b).
386+
* Query param uses short name only (e.g. minimax-m2.5) so integrations page resolves correctly.
386387
*/
387388
export function getUpgradeIntegrationsUrl(modelId: string): string {
388389
if (!modelId || !modelId.trim()) return UPGRADE_INTEGRATIONS_BASE;
389-
return `${UPGRADE_INTEGRATIONS_BASE}?model=${encodeURIComponent(modelId.trim())}`;
390+
const trimmed = modelId.trim();
391+
const shortName = trimmed.includes("/") ? trimmed.split("/").pop()! : trimmed;
392+
return `${UPGRADE_INTEGRATIONS_BASE}?model=${encodeURIComponent(shortName)}`;
390393
}
391394

392395
/**

0 commit comments

Comments
 (0)