Changeset 0.9.1 (#51)

This commit is contained in:
2026-02-23 13:42:23 +00:00
parent 8264aa6016
commit febcbde3d7
21 changed files with 1881 additions and 423 deletions

View File

@@ -90,8 +90,8 @@ docker compose --profile dev up # include Adminer DB UI
Build and push both images:
```bash
docker build -f server/Dockerfile -t your-registry/switchboard-api:0.9.0 server/
docker build -f Dockerfile.frontend -t your-registry/switchboard-fe:0.9.0 .
docker build -f server/Dockerfile -t your-registry/switchboard-api:0.9.1 server/
docker build -f Dockerfile.frontend -t your-registry/switchboard-fe:0.9.1 .
```
**Backend deployment:**
@@ -99,7 +99,7 @@ docker build -f Dockerfile.frontend -t your-registry/switchboard-fe:0.9.0 .
```yaml
containers:
- name: api
image: your-registry/switchboard-api:0.9.0
image: your-registry/switchboard-api:0.9.1
ports:
- containerPort: 8080
env:
@@ -119,7 +119,7 @@ containers:
```yaml
containers:
- name: frontend
image: your-registry/switchboard-fe:0.9.0
image: your-registry/switchboard-fe:0.9.1
ports:
- containerPort: 80
env:
@@ -194,9 +194,20 @@ All endpoints under `/api/v1/`. Authentication via `Authorization: Bearer <token
- `POST /channels/:id/messages/:msgId/regenerate` — Regenerate response
### Models
- `GET /models/enabled` — Models available to the user
- `GET /models/enabled` — Models available to the user (global + team + personal)
- `GET/PUT /models/preferences` — User model visibility settings
### Personal Providers (BYOK)
- `GET/POST /api-configs` — User's personal provider configs
- `GET/PUT/DELETE /api-configs/:id` — Provider CRUD
- `POST /api-configs/:id/models/fetch` — Refresh models from provider API
- `GET /api-configs/:id/models` — List models for a personal provider
### Teams
- `GET /teams` — Teams the user belongs to
- `GET/POST /teams/:id/providers` — Team provider management (team admins)
- `GET/POST /teams/:id/presets` — Team preset management (team admins)
### Admin
- `GET/POST /admin/users` — User management
- `GET/PUT /admin/settings/:key` — Global settings and policies