gitlawrandjialin 72e794c281 fix: align playground default model id with org namespace
Opening an org-scoped deployment in the Playground pre-selected the bare
model name (e.g. `qwen3-0.6b`), which never matched the org-namespaced
option the `/v1/models` dropdown actually lists (`org1/qwen3-0.6b`), so
the selection showed an unmatched value.

Resolve the owning org from the route row's `owner_principal_id` (falling
back to the org the caller is currently acting under for the admin "All"
view) and reconstruct the same `{org}/{name}` id the server reports. The
platform org carries no prefix, matching the server's behaviour.

- user.ts: add `getOrgById`/`getCurrentOrg` that scan both org caches
  (`organizationList` + admin-only `allOrganizations`) with string-
  normalised id comparison; `getOrgNameById` is now a thin wrapper.
  Helpers accept `undefined` so optional row fields type-check.
- use-open-playground: build the prefix from the resolved org record,
  keying the skip-prefix decision off `is_platform`.
- RouteItem: declare the `owner_principal_id` the list API returns.
- RouteTargetFormItem: drop the duplicate `overridden_model_name`
  declaration that TS flagged as a duplicate identifier.
2026-06-03 10:59:43 +08:00
2025-10-13 19:55:08 +08:00
2026-06-02 15:18:00 +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%