Plutarch01 commited on
Commit
2ff8e37
·
1 Parent(s): f98edcd

Deploy OpenWebUI update from local

Browse files
Files changed (1) hide show
  1. README.md +25 -3
README.md CHANGED
@@ -10,9 +10,30 @@ pinned: false
10
 
11
  # Montaigne OpenWebUI
12
 
13
- OpenWebUI deployment for the Montaigne chatbot.
14
 
15
- This Space connects to the Montaigne FastAPI backend through an OpenAI-compatible API exposed at `/v1`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
 
17
  ## UI Policy (Minimal Consumer Interface)
18
 
@@ -28,7 +49,8 @@ This is enforced in two layers:
28
  2. **Runtime DOM patch** — `config/minimal_ui_patch.js` is copied into the
29
  built OpenWebUI app and injected into `index.html` at container startup.
30
  It hides the model selector, settings entry, archived chats, keyboard
31
- shortcuts, and other power-user affordances from the public UI.
 
32
 
33
  ### Updating the policy
34
 
 
10
 
11
  # Montaigne OpenWebUI
12
 
13
+ **This Space is the production user interface of the Montaigne chatbot.**
14
 
15
+ `https://ask-montaigne.pages.dev` redirects here; the admin dashboard (backend
16
+ user management) lives at `https://ask-montaigne.pages.dev/admin.html` and uses
17
+ its own cookie/CSRF auth.
18
+
19
+ The Space connects to the Montaigne FastAPI backend through an
20
+ OpenAI-compatible API exposed at `/v1`.
21
+
22
+ ## Auth Model
23
+
24
+ OpenWebUI runs with authentication **disabled** (guest-only, `features.auth=false`):
25
+
26
+ - Anonymous visitors are mapped to per-IP backend guest accounts with a
27
+ **5-message limit** per IP.
28
+ - At the limit, the UI patch shows a "Create free account" modal
29
+ (`POST /auth/claim-guest`), which creates a backend account and sets its
30
+ password at claim time.
31
+ - The account token rides on `/v1` requests as `variables.montaigne_token`;
32
+ conversation continuity is keyed by `X-OpenWebUI-Chat-Id` / browser
33
+ fingerprint.
34
+ - There are **no OpenWebUI accounts, no billing, no conversation sharing, and
35
+ no OAuth buttons** in the UI. The backend `/auth/profile` and `/billing/*`
36
+ endpoints stay dormant.
37
 
38
  ## UI Policy (Minimal Consumer Interface)
39
 
 
49
  2. **Runtime DOM patch** — `config/minimal_ui_patch.js` is copied into the
50
  built OpenWebUI app and injected into `index.html` at container startup.
51
  It hides the model selector, settings entry, archived chats, keyboard
52
+ shortcuts, and other power-user affordances from the public UI, and
53
+ implements the guest-limit claim modal.
54
 
55
  ### Updating the policy
56