feat(api): retire ChatGPT plan sign-in by default
ci / checks (push) Successful in 57s
ci / test (push) Successful in 1m0s
ci / chart (push) Successful in 4s
ci / web (push) Successful in 21s
ci / docker (push) Successful in 1m48s
ci / publish-edge-image (push) Successful in 12s
ci / publish-edge-chart (push) Successful in 4s
ci / checks (push) Successful in 57s
ci / test (push) Successful in 1m0s
ci / chart (push) Successful in 4s
ci / web (push) Successful in 21s
ci / docker (push) Successful in 1m48s
ci / publish-edge-image (push) Successful in 12s
ci / publish-edge-chart (push) Successful in 4s
A room's provider serves every member, while a ChatGPT plan belongs to one account, so sharing it breaks OpenAI's terms. Together now hides the chatgpt kind, refuses to store a new one, and fails a room that still points at it with a message that names the API-key route. Existing provider rows stay in the database. The room settings dialog keeps the room's current provider visible even when its kind is retired, so the room shows what it is pinned to instead of silently losing it. Creating or updating a room to that provider is refused. `RHEMA_TOGETHER_I_WANT_CHATGPT_BAN=1` lifts the block for a single-user local test. The value has to be exactly `1`; any other value leaves the block in place.
This commit is contained in:
1 parent
62fa380ec0
commit
64d7f359f5
8 files changed
+157
-34
No files matched your search
@@ -104,10 +104,13 @@ issue certificates.
|
||||
## First room
|
||||
|
||||
1. **Settings → Providers.** Add a provider kind and its key, address,
|
||||
or sign-in. For GitHub Copilot, ChatGPT, and Mistral Vibe the dialog
|
||||
runs the provider's sign-in. The credential is sealed with the
|
||||
server's master key before it touches SQLite. A new provider stores
|
||||
no model; the room picks one.
|
||||
or sign-in. For GitHub Copilot and Mistral Vibe the dialog runs the
|
||||
provider's sign-in. Together does not offer ChatGPT plan sign-in;
|
||||
use the openai kind with an API key instead. Set
|
||||
`RHEMA_TOGETHER_I_WANT_CHATGPT_BAN=1` to lift the block for a
|
||||
single-user local test; a shared room still breaks OpenAI's terms.
|
||||
The credential is sealed with the server's master key before it
|
||||
touches SQLite. A new provider stores no model; the room picks one.
|
||||
2. **Settings → Sandboxes.** Add a target. Leave the private key empty
|
||||
and the server generates an ed25519 pair and shows the public key.
|
||||
Append that line to `~/.ssh/authorized_keys` on the target. Set the
|
||||
|
||||
Reference in new issue
Block a user