Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Primary package and entry points:
tests.
- `xinference/api/`: API server and OpenAI-compatible routes.
- `xinference/client/`: sync and async Python clients.
- `xinference/ui/web/ui/`: React Web UI.
- `frontend/`: Next.js Web UI.
- `doc/source/`: Sphinx documentation.
- `.github/workflows/python.yaml`: main lint and test CI.

Expand Down Expand Up @@ -111,22 +111,22 @@ dependencies, GPU, Metal, network access, or model downloads.

## Frontend

The Web UI is under `xinference/ui/web/ui` and uses React 18, Material UI,
react-router, i18next, ESLint, and Prettier.
The Web UI is under `frontend` and is a Next.js app (React, TypeScript,
Tailwind CSS), built as a static export and served by the Python backend from
`xinference/ui/web/dist`.

Common commands:

```bash
cd xinference/ui/web/ui
cd frontend
npm ci
npm start
npm run dev
npm run build
npx eslint .
npx prettier --check .
```

Use `npm run format` only when you intentionally want ESLint autofixes and
Prettier writes across the UI tree.
Use `npm run format` only when you intentionally want Prettier writes across
the frontend tree.

## Documentation

Expand Down
5 changes: 0 additions & 5 deletions xinference/ui/web/ui/.eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions xinference/ui/web/ui/.eslintrc.yml

This file was deleted.

23 changes: 0 additions & 23 deletions xinference/ui/web/ui/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions xinference/ui/web/ui/.prettierignore

This file was deleted.

9 changes: 0 additions & 9 deletions xinference/ui/web/ui/.prettierrc.yml

This file was deleted.

Loading
Loading