mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-15 23:32:40 +00:00
The tool-call continuation re-submits with bypass_system_prompt=True, but only routers/openai.py and routers/ollama.py checked it, so pipe and manifold models had the system prompt applied again on every continuation. Since add_or_update_system_message() prepends rather than replaces, N tool-call rounds left N+1 copies of the system prompt in the payload. |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| tools | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| events.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||