Skip to content

Commit 235d72e

Browse files
committed
update README & delete network config
Signed-off-by: JaredforReal <[email protected]>
1 parent f80d0b5 commit 235d72e

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

Dockerfile.extproc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,11 @@ FROM golang:1.24 AS go-builder
5757

5858
WORKDIR /app
5959

60-
ENV GOPROXY=https://goproxy.cn,direct
61-
ENV GOSUMDB=sum.golang.google.cn
62-
6360
# Copy Go module files first for better layer caching
6461
RUN mkdir -p src/semantic-router
6562
COPY src/semantic-router/go.mod src/semantic-router/go.sum src/semantic-router/
6663
COPY candle-binding/go.mod candle-binding/semantic-router.go candle-binding/
6764

68-
RUN cd src/semantic-router && go mod download && \
69-
cd /app/candle-binding && go mod download
70-
7165
# Copy semantic-router source code
7266
COPY src/semantic-router/ src/semantic-router/
7367

dashboard/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ Modern SPA built with:
3737

3838
Pages:
3939

40+
- **Landing** (`/`): Intro landing with animated terminal demo and quick links
4041
- **Monitoring** (`/monitoring`): Grafana dashboard embedding with custom path input
41-
- **Config** (`/config`): Real-time configuration viewer with multiple endpoints
42+
- **Config** (`/config`): Real-time configuration viewer with non-persistent edit demo (see note)
4243
- **Playground** (`/playground`): Open WebUI interface for testing
4344

4445
Features:
@@ -48,6 +49,13 @@ Features:
4849
- ⚡ Fast navigation with React Router
4950
- 🎨 Modern UI inspired by vLLM website design
5051

52+
Config edit demo (frontend only):
53+
54+
- The Config page includes edit/add modals to showcase how configuration could be managed.
55+
- Current backend is read-only for config: it exposes `GET /api/router/config/all` only.
56+
- Demo save targets `POST /api/router/config/update` (not implemented by default). You can wire this endpoint in the backend to persist changes, or keep the edits as a UI mock.
57+
- Tools DB panel attempts to load `/api/tools-db` for `tools_db.json`. Add a backend route or static file handler to serve this if you want it live.
58+
5159
### Backend (Go HTTP Server)
5260

5361
- Serves static frontend (Vite production build)
@@ -73,6 +81,7 @@ dashboard/
7381
│ │ │ ├── Layout.tsx # Main layout with header/nav
7482
│ │ │ └── Layout.module.css
7583
│ │ ├── pages/ # Page components
84+
│ │ │ ├── LandingPage.tsx # Welcome page with terminal demo
7685
│ │ │ ├── MonitoringPage.tsx # Grafana iframe with path control
7786
│ │ │ ├── ConfigPage.tsx # Config viewer with API fetch
7887
│ │ │ ├── PlaygroundPage.tsx # Open WebUI iframe
@@ -116,9 +125,9 @@ Recommended upstream settings for embedding:
116125

117126
## URL strategy (stable, user-facing)
118127

119-
- Dashboard Home: `http://<host>:8700/`
128+
- Dashboard Home (Landing): `http://<host>:8700/`
120129
- Monitoring tab: iframe `src="/embedded/grafana/d/<dashboard-uid>?kiosk&theme=light"`
121-
- Config tab: frontend fetch `GET /api/router/config/all`
130+
- Config tab: frontend fetch `GET /api/router/config/all` (demo edit modals; see note above)
122131
- Playground tab: iframe `src="/embedded/openwebui/"` (rendered only if `TARGET_OPENWEBUI_URL` is set)
123132

124133
## Deployment matrix

deploy/docker-compose/docker-compose.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@ services:
99
volumes:
1010
- ../../config:/app/config:ro
1111
- ../../models:/app/models:ro
12-
- ~/.cache/huggingface:/root/.cache/huggingface
1312
environment:
1413
- LD_LIBRARY_PATH=/app/lib
1514
- CONFIG_FILE=${CONFIG_FILE:-/app/config/config.yaml}
16-
- HUGGINGFACE_HUB_CACHE=/root/.cache/huggingface
17-
- HF_HUB_ENABLE_HF_TRANSFER=1
18-
- HF_ENDPOINT=https://hf-mirror.com
1915
networks:
2016
- semantic-network
2117
healthcheck:

0 commit comments

Comments
 (0)