mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-01 19:50:41 +02: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.