Skip to content

Per-model uncensor steer in the bridge (DeepSeek V4 Pro)#24

Merged
0xadvait merged 1 commit into
mainfrom
deepseek-bridge-steer
Jun 24, 2026
Merged

Per-model uncensor steer in the bridge (DeepSeek V4 Pro)#24
0xadvait merged 1 commit into
mainfrom
deepseek-bridge-steer

Conversation

@0xadvait

Copy link
Copy Markdown
Collaborator

DeepSeek V4 Pro (now the default) is strongly aligned and needs an emphatic steer to be reliably uncensored -- unlike Hermes, which is uncensored by training. Add a _MODEL_STEER map (keyed by gateway model name, the bridge analog of the chat-app's MODEL_SYSTEM_PROMPTS) and prepend it to the request's system message for deepseek-v4-pro.

The prompt was chosen by a bake-off (categories x repeated runs); it carries the absolute minors-safety clause. Verified live through the bridge with no caller system prompt: DeepSeek engages phishing/keylogger/NSFW (100% in testing). Harassment of a real person still intermittently refuses -- so does Hermes 405B, so this is at the stated bar. (A prefill-on-refusal extension could exceed it; deferred.) pytest 35 pass.

DeepSeek is the default now and is strongly aligned, so it needs an emphatic steer
to be reliably uncensored (Hermes is uncensored by training and needs none). Add a
_MODEL_STEER map (keyed by gateway model name, mirroring the chat-app's
MODEL_SYSTEM_PROMPTS) and prepend it to the request's system message in the bridge
for deepseek-v4-pro. Bake-off-selected prompt; minors-safety clause is absolute.

Verified live: a raw request to the bridge with NO system prompt now auto-gets the
steer and DeepSeek engages phishing/keylogger/NSFW (100% in testing) -- matching
the bar (Hermes 405B, which also refuses cruel personal harassment). Tests +1 (35).
@0xadvait
0xadvait merged commit 8c912e4 into main Jun 24, 2026
3 checks passed
@0xadvait
0xadvait deleted the deepseek-bridge-steer branch June 24, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant