Skip to content

Include /v1 in copied API endpoint URLs - #185

Merged
Noah-Tervalon-Nvidia merged 1 commit into
NVIDIA:developfrom
NV-sschneider:codex/endpoint-v1
Oct 29, 2026
Merged

Noah-Tervalon-Nvidia merged 1 commit into
NVIDIA:developfrom
NV-sschneider:codex/endpoint-v1

Conversation

@NV-sschneider

Copy link
Copy Markdown
Collaborator

Changelog title

Copy API endpoints with /v1 included

Changelog body

  • API endpoint URLs now include /v1 when displayed or copied, so they can be pasted directly into Hermes and other clients that expect an OpenAI-compatible base URL.
  • The getting-started examples use the copied URL directly and explain how to remove /v1 for native Ollama clients.

Bumps

  • services: minor
  • nvpair-cluster-manager: none
  • nvpair-engine-manager: none
  • nvpair-errors: none
  • nvpair-job-scheduler: none
  • nvpair-manual-nodes: none
  • nvpair-node-info: none
  • nvpair-node-scanner: none
  • nvpair-node-settings: none
  • nvpair-proxy: none
  • nvpair-tui: none
  • nvpair-ui-broker: none
  • nvpair-workload-manager: none

Summary

PAIR currently copies an endpoint such as http://127.0.0.1:11434, requiring users to append /v1 before pasting it into Hermes or another OpenAI-compatible client. The endpoint list and engine copy buttons now return http://127.0.0.1:11434/v1, with matching display text and tooltip.

The existing URL assertion and README/getting-started examples are updated, including removal of the extra /v1 from requests built on the copied base URL.

Scope

Desktop URL formatting, its existing test, and user documentation. No Go services, HTTP routes, JSON-RPC contracts, or dependencies change. The services suite minor bump records the user-visible change under the repository's versioning policy; all service binary bumps remain none.

Test plan

Validated on Windows x64 with Node.js 26.12.1, on an isolated branch based on develop (c0d2b62):

  • npm run typecheck — passed.
  • npm run lint — passed without warnings.
  • npm run dead-code:check — passed.
  • npm run test:unit — 26 packaging tests and 280 unit tests passed; 2 existing tests skipped.
  • npm run service-contracts:check — passed.
  • npm run verify:build-scripts — passed.
  • node scripts/spdx-headers.mjs — passed.
  • git diff --check — passed.
  • Release-intent description validator — passed.

Reviewed both copy consumers and the documented request paths. No live Electron/Hermes smoke test was performed.

Risk

Clients using Ollama's native API, or clients that append /v1 themselves, need the proxy URL without the trailing /v1. The guide documents this distinction. Proxy routing and listener behavior are unchanged.

Checklist

  • I have read the Contributing Guidelines.
  • Every commit is signed off (git commit -s), certifying the Developer Certificate of Origin.
  • New or existing tests cover the change.
  • Relevant documentation is updated.
  • I checked the diff, changed filenames, and commit messages for credentials, private data, internal URLs, internal issue identifiers, and generated artifacts.
  • I recorded the validation commands and results above.
  • I declared version bumps in the release-intent block above. services/versions.json is written by automation.

@Noah-Tervalon-Nvidia Noah-Tervalon-Nvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is this really something that should belong to us?

@Noah-Tervalon-Nvidia
Noah-Tervalon-Nvidia merged commit 933de39 into NVIDIA:develop Oct 29, 2026
13 checks passed
pair-release-intent Bot added a commit that referenced this pull request Oct 29, 2026
Apply release intent from PR #185.

Applies-PR: #185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants