open-webui/backend/open_webui/utils
Athanasios Oikonomou 86f33de9f3 feat: support per-model RAG template override
Add `rag_template` as a configurable parameter in model settings, allowing each
model to define its own RAG template instead of always using the global default.
- Middleware now selects the model-specific RAG template if provided.
- Model editor UI updated to allow editing and saving `rag_template`.
- Fallback to global `RAG_TEMPLATE` remains when no override is set.
2025-09-24 22:58:10 +03:00
..
images fix max seed for comfyui 2025-02-08 01:10:18 +07:00
mcp refac 2025-09-23 03:52:43 -04:00
telemetry refac: otel metrics handle 500 2025-09-16 12:11:32 -05:00
access_control.py enh: channel read/write perm 2025-09-24 10:09:59 -05:00
audit.py Fix audit get_current_user 2025-08-10 02:10:00 +02:00
auth.py refac 2025-09-08 18:17:11 +04:00
channels.py feat: channel/thread @ model 2025-09-17 00:49:44 -05:00
chat.py fix: action reserved user param 2025-06-18 10:50:49 +04:00
code_interpreter.py chore: format 2025-05-10 19:00:01 +04:00
embeddings.py refac: embeddings endpoint 2025-06-05 00:37:31 +04:00
files.py refac 2025-09-23 03:05:38 -04:00
filter.py fix: setting file_handler in a filter would generate errors in messages with no files, because a "files: Null" in metadata would trigger an attempt to delete a non existent files object 2025-09-13 12:57:54 -03:00
logger.py chore: format 2025-08-06 14:27:58 +04:00
middleware.py feat: support per-model RAG template override 2025-09-24 22:58:10 +03:00
misc.py refac: rag context handling 2025-09-24 09:38:14 -05:00
models.py refac 2025-09-16 23:19:21 -05:00
oauth.py refac 2025-09-24 06:56:50 -05:00
payload.py enh: custom reasoning tags 2025-08-27 17:24:16 +04:00
pdf_generator.py chore: remove unnecessary Path conversions 2025-03-04 19:53:52 +02:00
plugin.py fix: None Type tool installation during startup 2025-08-20 23:58:08 +04:00
redis.py enh/refac: redis cluster support 2025-08-04 14:15:08 +04:00
response.py fix: ollama tool call 2025-07-18 06:11:53 +08:00
security_headers.py chore: format 2024-11-30 23:36:30 -08:00
task.py refac 2025-08-21 04:46:43 +04:00
tools.py feat: experimental mcp support 2025-09-23 02:03:26 -04:00
webhook.py refac: async webhook request 2025-08-15 00:07:02 +04:00