Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ _In development — bullets added per PR; finalized at release._

- **feat(providers):** update volcengine-ark model list, adding DeepSeek-V4-Flash and DeepSeek-V4-Pro. (thanks @kenlin8827)
- **feat(combos):** add an editable per-combo `description` field. The routing-combo form now has a Description input, persisted in the combo `data` blob via `/api/combos` (POST/PUT) and round-tripped through GET — no new DB column ([#5005](https://github.com/diegosouzapw/OmniRoute/issues/5005)).
- **feat(endpoint):** per-endpoint custom system prompt injection. A toggle + text field in the Endpoint settings card lets users inject a custom system prompt into every model request, applied via the existing system-prompt engine. Stored in settings DB. (thanks @whale9820)

### 🔧 Bug Fixes

Expand Down
13 changes: 12 additions & 1 deletion open-sse/handlers/chatCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ import { checkHeapPressureGuard } from "../utils/heapPressure.ts";
import { normalizeHeaders } from "../utils/headers.ts";
import { resolveChatCoreRequestFormat } from "./chatCore/requestFormat.ts";
import { resolveChatCoreTargetFormat } from "./chatCore/targetFormat.ts";
import { injectSystemPrompt } from "../services/systemPrompt.ts";
import { injectSystemPrompt, injectCustomSystemPrompt } from "../services/systemPrompt.ts";
import { translateRequest, needsTranslation } from "../translator/index.ts";
import { FORMATS } from "../translator/formats.ts";
import { splitMisplacedToolResults } from "../translator/helpers/claudeHelper.ts";
Expand Down Expand Up @@ -387,6 +387,17 @@ export async function handleChatCore({
stageTrace(label, extra, { traceEnabled, startTime, traceId, log });
let tokensCompressed: number | null = null;
body = injectSystemPrompt(body);
// ── Per-endpoint custom system prompt (port of upstream #2063) ──
// Reads from cachedSettings if available (passed in from combo/chat layer)
// to avoid an extra DB read on the hot path. Falls through to getCachedSettings()
// only when this function is called outside the normal chat dispatch.
{
const _s = cachedSettings ?? (await getCachedSettings());
if (_s.customSystemPromptEnabled === true && typeof _s.customSystemPrompt === "string" && _s.customSystemPrompt) {
Comment on lines +395 to +396

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Accessing properties on _s without a null/undefined check can lead to a runtime crash if both cachedSettings and getCachedSettings() resolve to a nullish value. Use optional chaining to safely access customSystemPromptEnabled and customSystemPrompt.

Suggested change
const _s = cachedSettings ?? (await getCachedSettings());
if (_s.customSystemPromptEnabled === true && typeof _s.customSystemPrompt === "string" && _s.customSystemPrompt) {
const _s = cachedSettings ?? (await getCachedSettings());
if (_s?.customSystemPromptEnabled === true && typeof _s?.customSystemPrompt === "string" && _s.customSystemPrompt) {

body = injectCustomSystemPrompt(body as Record<string, unknown>, _s.customSystemPrompt);
log?.debug?.("CUSTOMSP", "custom system prompt injected");
}
}
// ── Plugin onRequest hook ──
// Dynamic import cached by Node.js after first call — minimal overhead
const pluginGate = await runPluginOnRequestHook({
Expand Down
53 changes: 53 additions & 0 deletions open-sse/services/systemPrompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,3 +132,56 @@ export function injectSystemPrompt(body) {

return result;
}

/**
* Inject a per-request custom system prompt into the request body.
*
* Unlike injectSystemPrompt (which reads from globalThis config), this
* function takes an explicit prompt string and appends it as a suffix
* after any existing system content — mirroring the caveman/ponytail
* injection pattern but driven by per-endpoint settings.
*
* @param body - Translated request body (OpenAI/Claude/Gemini format)
* @param prompt - The custom system prompt text to inject
* @returns Modified body with prompt appended to the system message
*/
export function injectCustomSystemPrompt(body: Record<string, unknown>, prompt: string) {
if (!prompt || typeof prompt !== "string") return body;
if (!body || typeof body !== "object") return body;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

In JavaScript/TypeScript, typeof [] is "object". If body is an array, performing a shallow copy using { ...body } will convert the array into an object with numeric keys, which can corrupt the request structure. Add an Array.isArray(body) check to prevent this.

Suggested change
if (!body || typeof body !== "object") return body;
if (!body || typeof body !== "object" || Array.isArray(body)) return body;

if (body._skipSystemPrompt) return body;

const result = { ...body };

// OpenAI/Claude messages[] format
if (result.messages && Array.isArray(result.messages)) {
const sysIdx = (result.messages as Array<{ role: string; content: unknown }>).findIndex(
(m) => m.role === "system" || m.role === "developer"
);
result.messages = [...(result.messages as Array<{ role: string; content: unknown }>)];
if (sysIdx >= 0) {
const msg = { ...(result.messages as Array<{ role: string; content: unknown }>)[sysIdx] };
if (Array.isArray(msg.content)) {
msg.content = [...(msg.content as unknown[]), { type: "text", text: prompt }];
} else {
msg.content = (msg.content ? msg.content + "\n\n" : "") + prompt;
}
(result.messages as Array<{ role: string; content: unknown }>)[sysIdx] = msg;
} else {
result.messages = [
{ role: "system", content: prompt },
...(result.messages as Array<{ role: string; content: unknown }>),
];
}
}

// Claude direct system field
if (result.system !== undefined) {
if (typeof result.system === "string") {
result.system = result.system ? result.system + "\n\n" + prompt : prompt;
} else if (Array.isArray(result.system)) {
result.system = [...(result.system as unknown[]), { type: "text", text: prompt }];
}
}

return result;
}
48 changes: 48 additions & 0 deletions src/app/(dashboard)/dashboard/endpoint/EndpointPageClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { useState, useEffect, useMemo, useCallback } from "react";
import Link from "next/link";
import { Card, Button, Input, Modal, CardSkeleton, SegmentedControl } from "@/shared/components";
import Toggle from "@/shared/components/Toggle";
import { useCopyToClipboard } from "@/shared/hooks/useCopyToClipboard";
import { useDisplayBaseUrl } from "@/shared/hooks";
import { AI_PROVIDERS, getProviderByAlias } from "@/shared/constants/providers";
Expand Down Expand Up @@ -189,6 +190,8 @@ export default function APIPageClient({ machineId }: Readonly<APIPageClientProps
const [lanUrls, setLanUrls] = useState<string[]>([]);
const [tailscaleIpUrl, setTailscaleIpUrl] = useState<string | null>(null);
const [activeEndpointTab, setActiveEndpointTab] = useState<EndpointTab>("apis");
const [customSystemPromptEnabled, setCustomSystemPromptEnabled] = useState(false);
const [customSystemPrompt, setCustomSystemPrompt] = useState("");

const { copied, copy } = useCopyToClipboard();

Expand Down Expand Up @@ -496,6 +499,8 @@ export default function APIPageClient({ machineId }: Readonly<APIPageClientProps
setShowTailscaleFunnel(tunnelVisibility.showTailscaleFunnel);
setShowNgrokTunnel(tunnelVisibility.showNgrokTunnel);
if (data.ngrokAuthToken) setNgrokToken(data.ngrokAuthToken);
setCustomSystemPromptEnabled(!!data.customSystemPromptEnabled);
setCustomSystemPrompt(data.customSystemPrompt || "");

if (!tunnelVisibility.showCloudflaredTunnel) {
setCloudflaredStatus(null);
Expand All @@ -519,6 +524,24 @@ export default function APIPageClient({ machineId }: Readonly<APIPageClientProps
return DEFAULT_TUNNEL_VISIBILITY;
};

const handleCustomSystemPromptEnabledChange = (value: boolean) => {
setCustomSystemPromptEnabled(value);
void fetch("/api/settings", {
method: "PATCH",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ customSystemPromptEnabled: value }),
});
};

const handleCustomSystemPromptChange = (value: string) => {
setCustomSystemPrompt(value);
void fetch("/api/settings", {
method: "PATCH",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ customSystemPrompt: value }),
});
};
Comment on lines +536 to +543

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Firing a network request to /api/settings on every single keystroke (onChange) can cause severe performance degradation, database write locks, and race conditions. Instead, update the local state on change and only persist the setting to the server when the input loses focus (onBlur).

  const handleCustomSystemPromptChange = (value: string) => {
    setCustomSystemPrompt(value);
  };

  const handleCustomSystemPromptBlur = () => {
    void fetch("/api/settings", {
      method: "PATCH",
      headers: { "Content-Type": "application/json" },
      body: JSON.stringify({ customSystemPrompt }),
    });
  };


const handleCloudToggle = (checked) => {
if (checked) {
if (!cloudConfigured) {
Expand Down Expand Up @@ -1749,6 +1772,31 @@ export default function APIPageClient({ machineId }: Readonly<APIPageClientProps
</div>
)}
</div>

{/* Custom System Prompt */}
<div className="flex items-center justify-between pt-4 mt-4 border-t border-border gap-4 flex-wrap">
<div className="min-w-0 flex-1">
<p className="font-medium text-sm">{t("customSystemPromptTitle")}</p>
<p className="text-sm text-text-muted">{t("customSystemPromptDescription")}</p>
</div>
<div className="flex items-center gap-3 shrink-0">
{customSystemPromptEnabled && (
<Input
type="text"
value={customSystemPrompt}
onChange={(e) => handleCustomSystemPromptChange(e.target.value)}
placeholder={t("customSystemPromptPlaceholder")}
className="w-64 text-xs"
/>
Comment on lines +1784 to +1790

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Bind the newly created handleCustomSystemPromptBlur handler to the onBlur event of the Input component to ensure the setting is saved only when the user finishes typing and clicks away.

              <Input
                type="text"
                value={customSystemPrompt}
                onChange={(e) => handleCustomSystemPromptChange(e.target.value)}
                onBlur={handleCustomSystemPromptBlur}
                placeholder={t("customSystemPromptPlaceholder")}
                className="w-64 text-xs"
              />

)}
<Toggle
checked={customSystemPromptEnabled}
onChange={handleCustomSystemPromptEnabledChange}
ariaLabel={t("customSystemPromptTitle")}
size="sm"
/>
</div>
</div>
</Card>

<Card>
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
Comment on lines +3006 to +3008

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To adhere to the project's internationalization standards and allow the translation pipeline to automatically detect untranslated keys, new English strings added to non-English locale files should be prefixed with __MISSING__:. Please apply this pattern to all 41 non-English locale files changed in this PR.

Suggested change
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
"customSystemPromptTitle": "__MISSING__:Custom System Prompt",
"customSystemPromptDescription": "__MISSING__:Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "__MISSING__:e.g. Always respond in pirate speak..."

},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/bg.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Koncová Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -3007,7 +3007,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3111,7 +3111,10 @@
"tierAlwaysProtected": "Always Protected",
"tierPublic": "Public",
"hideInternal": "Hide Internal",
"showInternal": "Show Internal"
"showInternal": "Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/fi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/gu.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/he.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/hu.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
5 changes: 4 additions & 1 deletion src/i18n/messages/in.json
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,10 @@
"tierAlwaysProtected": "__MISSING__:Always Protected",
"tierPublic": "__MISSING__:Public",
"hideInternal": "__MISSING__:Hide Internal",
"showInternal": "__MISSING__:Show Internal"
"showInternal": "__MISSING__:Show Internal",
"customSystemPromptTitle": "Custom System Prompt",
"customSystemPromptDescription": "Inject a custom system prompt into every model request",
"customSystemPromptPlaceholder": "e.g. Always respond in pirate speak..."
},
"endpoints": {
"tabProxy": "Endpoint Proxy",
Expand Down
Loading
Loading