mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
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. |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| test | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||