[PR #8410] [CLOSED] feat(connections): add Obscurify.ai as a text provider #8583

Closed
opened 2026-11-07 16:45:46 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8410
Author: @tonydavis629
Created: 10/28/2026
Status: ❌ Closed

Base: staging ← Head: feat/obscurify-provider


📝 Commits (1)

  • d8db9e0 feat(connections): add Obscurify.ai as a text provider

📊 Changes

14 files changed (+60 additions, -8 deletions)

View changed files

📝 packages/client/src/components/connections/ConnectionEditor.tsx (+9 -4)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+1 -0)
📝 packages/client/src/localization/locales/en.json (+1 -0)
📝 packages/server/src/db/schema/connections.ts (+1 -0)
📝 packages/server/src/routes/connections.routes.ts (+13 -3)
📝 packages/server/src/services/llm/provider-registry.ts (+1 -0)
📝 packages/server/src/services/llm/providers/openai.provider.ts (+3 -0)
📝 packages/shared/src/constants/generation-parameter-relevance.ts (+12 -1)
📝 packages/shared/src/constants/model-lists.ts (+1 -0)
📝 packages/shared/src/constants/providers.ts (+9 -0)
📝 packages/shared/src/schemas/connection.schema.ts (+1 -0)
📝 packages/shared/src/types/connection.ts (+1 -0)
📝 scripts/regressions/generation-parameter-relevance.regression.ts (+6 -0)
📝 scripts/regressions/openai-buffered-stream-fallback.regression.ts (+1 -0)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #8409

Why this change

Obscurify.ai could only be used through a Custom (OpenAI-compatible) connection. It's a privacy-focused OpenAI-compatible API: accounts are a random 16-digit account number with no email, prompts and responses are not stored on the server, and requests only use zero-data-retention routes.

Disclosure: I run it.

What changed

  • New text provider Obscurify.ai in the connection list. It uses https://obscurify.ai/v1 by default and loads models from /models, like Arli AI.
  • The connection editor shows a "Get your Obscurify.ai API key" link to https://obscurify.ai/account (new en.json key).
  • Chat requests go through OpenAIProvider under its own provider kind (error label "Obscurify.ai API"); Top K and service tier are hidden for it, as for Arli AI.
  • Regressions: obscurify added to the provider matrix in generation-parameter-relevance and to the provider kinds in openai-buffered-stream-fallback.

Nothing that worked before changes. No CHANGELOG edit, per CONTRIBUTING.

Validation

Tested revision: d8db9e09 on top of staging c1ac4bc8.

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Boxes are left for the reviewer per the agent workflow overlay. What was actually run:

  • pnpm check: passed (impeccable, localization, format, lint, e2e/token-estimation types, build).
  • node scripts/run-regressions.mjs --filter <name> for generation-parameter-relevance, openai-buffered-stream-fallback, provider-compat, connection-model-list, connection-test-parameters, model-source-hosts: all passed.
  • Ran the built server (node packages/server/dist/index.js) with a throwaway data dir and drove it over the HTTP API with a real key: POST /api/connections with provider: "obscurify" saved; POST /:id/test succeeded; GET /:id/models?refresh=1 returned the full model list; POST /:id/test-message with deepseek/deepseek-v4-flash returned a normal greeting.
  • Note: Obscurify.ai's /models is public, so "Test Connection" (which checks the model list) also succeeds with a wrong key, the same as other gateways with public model lists. "Test Message" does check the key.
  • Not done: clicking through the UI in a browser, light/dark or mobile checks, container build.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

No docs were changed; docs/connections/providers-reference.md could get a row if you want one, and I'd add it plus the docs-i18n follow-up.

UI evidence (if applicable)

No screenshots: the only UI change is the new provider tile/option and the API key link text.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8410 **Author:** [@tonydavis629](https://github.com/tonydavis629) **Created:** 10/28/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `feat/obscurify-provider` --- ### 📝 Commits (1) - [`d8db9e0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d8db9e096ec936f328929e45ac2026e58cdcb48a) feat(connections): add Obscurify.ai as a text provider ### 📊 Changes **14 files changed** (+60 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/connections/ConnectionEditor.tsx` (+9 -4) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+1 -0) 📝 `packages/client/src/localization/locales/en.json` (+1 -0) 📝 `packages/server/src/db/schema/connections.ts` (+1 -0) 📝 `packages/server/src/routes/connections.routes.ts` (+13 -3) 📝 `packages/server/src/services/llm/provider-registry.ts` (+1 -0) 📝 `packages/server/src/services/llm/providers/openai.provider.ts` (+3 -0) 📝 `packages/shared/src/constants/generation-parameter-relevance.ts` (+12 -1) 📝 `packages/shared/src/constants/model-lists.ts` (+1 -0) 📝 `packages/shared/src/constants/providers.ts` (+9 -0) 📝 `packages/shared/src/schemas/connection.schema.ts` (+1 -0) 📝 `packages/shared/src/types/connection.ts` (+1 -0) 📝 `scripts/regressions/generation-parameter-relevance.regression.ts` (+6 -0) 📝 `scripts/regressions/openai-buffered-stream-fallback.regression.ts` (+1 -0) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #8409 ## Why this change Obscurify.ai could only be used through a Custom (OpenAI-compatible) connection. It's a privacy-focused OpenAI-compatible API: accounts are a random 16-digit account number with no email, prompts and responses are not stored on the server, and requests only use zero-data-retention routes. Disclosure: I run it. ## What changed - New text provider **Obscurify.ai** in the connection list. It uses `https://obscurify.ai/v1` by default and loads models from `/models`, like Arli AI. - The connection editor shows a "Get your Obscurify.ai API key" link to https://obscurify.ai/account (new `en.json` key). - Chat requests go through `OpenAIProvider` under its own provider kind (error label "Obscurify.ai API"); Top K and service tier are hidden for it, as for Arli AI. - Regressions: `obscurify` added to the provider matrix in `generation-parameter-relevance` and to the provider kinds in `openai-buffered-stream-fallback`. Nothing that worked before changes. No CHANGELOG edit, per CONTRIBUTING. ## Validation Tested revision: d8db9e09 on top of staging c1ac4bc8. - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Boxes are left for the reviewer per the agent workflow overlay. What was actually run: - `pnpm check`: passed (impeccable, localization, format, lint, e2e/token-estimation types, build). - `node scripts/run-regressions.mjs --filter <name>` for generation-parameter-relevance, openai-buffered-stream-fallback, provider-compat, connection-model-list, connection-test-parameters, model-source-hosts: all passed. - Ran the built server (`node packages/server/dist/index.js`) with a throwaway data dir and drove it over the HTTP API with a real key: `POST /api/connections` with `provider: "obscurify"` saved; `POST /:id/test` succeeded; `GET /:id/models?refresh=1` returned the full model list; `POST /:id/test-message` with `deepseek/deepseek-v4-flash` returned a normal greeting. - Note: Obscurify.ai's `/models` is public, so "Test Connection" (which checks the model list) also succeeds with a wrong key, the same as other gateways with public model lists. "Test Message" does check the key. - Not done: clicking through the UI in a browser, light/dark or mobile checks, container build. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) No docs were changed; `docs/connections/providers-reference.md` could get a row if you want one, and I'd add it plus the docs-i18n follow-up. ## UI evidence (if applicable) No screenshots: the only UI change is the new provider tile/option and the API key link text. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:45:46 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8583
No description provided.