From 06f151d545012b2750cc190babaede78bca22523 Mon Sep 17 00:00:00 2001 From: ota42y Date: Mon, 8 Dec 2025 13:47:57 +0000 Subject: [PATCH] add safety_identifier --- backend/open_webui/routers/openai.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/open_webui/routers/openai.py b/backend/open_webui/routers/openai.py index a74a59ca1f..bd707211b4 100644 --- a/backend/open_webui/routers/openai.py +++ b/backend/open_webui/routers/openai.py @@ -875,6 +875,8 @@ async def generate_chat_completion( "role": user.role, } + payload["safety_identifier"] = user.id + url = request.app.state.config.OPENAI_API_BASE_URLS[idx] key = request.app.state.config.OPENAI_API_KEYS[idx]