gitlawr bda8264788 fix: playground model id alignment across org boundaries
Two QA-reported bugs on the "Open in Playground" path. Both come
down to the model id the playground submits not matching what
``/v1/models`` / the dispatcher key off:

* Routes page (OSS UI) emitted ``default/<name>`` for routes in the
  platform Org and 404'd. ``use-open-playground`` keyed off the
  ``is_platform`` flag alone; stale caches that drop the flag
  slipped through. Also accept the well-known ``name === 'default'``
  (``PLATFORM_PRINCIPAL_NAME`` on the backend) as a fallback signal.

* My Models page (enterprise UI, non-admin) emitted bare ``<name>``
  with no Org prefix for non-platform routes. Use ``model.name``
  from ``/v2/my-models`` verbatim — the backend ("fix: principal
  prefix in my-models") now rewrites that field to the OpenAI-style
  id server-side, which also closes the cross-Org grant gap a
  client-side cache lookup can't (the granting Org isn't in the
  caller's member list). Card title now shows the prefixed id, so
  users can tell apart same-named models from different Orgs.

Routes page keeps ``useOpenPlayground`` — that surface is always
scoped to the caller's own Org, the local cache is sufficient, and
``/model-routes`` still returns the raw ``name``.

Also drops the now-unused ``onClick`` prop on ``ModelItem``: the
card had ``clickable={false}`` so the parent-passed handler was
already dead code; the Button drives the playground navigation.
2026-06-07 15:45:49 +08:00
2025-10-13 19:55:08 +08:00
2026-06-05 23:08:45 +08:00
2026-01-09 21:13:41 +08:00
2026-05-08 09:33:16 +08:00
2025-06-10 19:24:13 +08:00
2026-05-15 09:41:10 +08:00
2026-05-07 18:26:48 +08:00
2024-05-14 15:23:56 +08:00
2024-05-16 10:45:45 +08:00
2026-05-15 16:22:07 +08:00
2026-05-11 19:49:21 +08:00
2024-12-09 11:37:37 +08:00
2026-06-02 17:51:25 +08:00
2026-06-02 17:51:25 +08:00
2025-03-10 12:33:43 +08:00
2026-04-29 18:09:55 +08:00

GPUStack UI

UI for GPUStack.

Installation

  1. Nodejs 16.0+(with NPM)

If you're on Mac

brew install node
  1. pnpm
npm install -g pnpm
  1. Setup
git clone https://github.com/gpustack/gpustack-ui/
  1. Install dependencies
cd gpustack-ui
pnpm install

Usage

  1. Run development server (at http://localhost:9000)
npm run dev
  1. build release
npm run build

Bugs & Issues

S
Description
No description provided
Readme
27 MiB
Languages
TypeScript 68.9%
JavaScript 29.4%
Less 1.4%
CSS 0.3%