You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/google-gemini-integration.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,13 +259,13 @@ The Google Gemini pipeline supports a hierarchical system prompt configuration t
259
259
260
260
1.**Default System Prompt** (`GOOGLE_DEFAULT_SYSTEM_PROMPT`): Global default applied to all chats, configurable via environment variable or Admin UI valves.
261
261
262
-
2.**Model System Prompt**: The system prompt configured in the model settings (Admin > Models > Select Model > System Prompt). This is passed via `__metadata__["chat"]["params"]["system"]`.
262
+
2.**Model System Prompt**: The system prompt configured in the model settings (Admin > Models > Select Model > System Prompt). This is accessed via `__model__["info"]["system"]`.
263
263
264
264
3.**User System Prompt**: The user's personalized system prompt from either:
265
-
-**User Settings** (Settings > Personalization): Stored in `settings.ui.system`
266
265
-**Chat Controls**: The system message passed with individual chat messages
266
+
-**User Settings** (Settings > Personalization): Stored in `settings.ui.system`
267
267
268
-
Note: User settings take precedence over chat controls if both are set.
268
+
Note: Chat controls take precedence over user settings if both are set.
269
269
270
270
### How It Works
271
271
@@ -310,7 +310,7 @@ Users can set their personalized system prompt in Open WebUI:
310
310
2. Enter your preferred system prompt in the "System Prompt" field
311
311
3. Save settings
312
312
313
-
This prompt will be automatically applied to all your Gemini chats, combined with any default and model prompts.
313
+
Alternatively, users can override the system prompt per-chat using chat controls. If both are set, the chat controls value takes precedence.
314
314
315
315
### Example
316
316
@@ -326,7 +326,7 @@ You are a helpful AI assistant.
326
326
You specialize in Python programming.
327
327
```
328
328
329
-
**User system prompt (Settings > Personalization OR chat controls):**
329
+
**User system prompt (chat controls OR Settings > Personalization):**
0 commit comments