open-webui/backend/open_webui
Classic298 302b8cfd50
fix: tool calls make chats compact too early and inflate prompt token counts (#33218)
Since a recent refactor on dev, the prompt and completion token counts of a reply that used tools added up every model call in the loop, even though each later call already re-sends the whole conversation. A reply whose context was 50k tokens showed 90k, the context gauge read over 100% and the next message triggered compaction long before the chat reached the threshold. Prompt and completion tokens show the latest call again, while total tokens and cost still add up across all calls.
2026-10-26 19:17:34 +09:00
..
data refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
internal fix: requests hang or fail with 503 after pages are closed while loading (#32617) 2026-10-21 03:23:05 +09:00
migrations refac 2026-10-14 18:49:51 +04:00
models fix: the Local source filter on Workspace > Knowledge lists knowledge bases made with Create (#33199) 2026-10-26 17:31:16 +09:00
retrieval refac 2026-10-26 18:54:49 +09:00
routers refac 2026-10-26 18:54:49 +09:00
socket refac 2026-10-25 14:50:46 +09:00
static refac 2026-09-06 17:27:30 -04:00
storage refac 2026-10-05 12:03:19 +04:00
tools refac 2026-10-26 18:54:49 +09:00
utils fix: tool calls make chats compact too early and inflate prompt token counts (#33218) 2026-10-26 19:17:34 +09:00
__init__.py chore: Python 3.12 and Debian 13 base image (#32861) 2026-10-22 04:51:57 +09:00
alembic.ini fix: Alembic CLI commands from failing 2025-08-15 04:17:47 -04:00
config.py refac 2026-10-26 18:54:49 +09:00
constants.py fix: SSO login failures show the email/password error (#31629) 2026-09-30 19:07:49 +04:00
env.py refac 2026-10-25 07:30:34 +09:00
events.py refac: recheck live chat access after archiving and bulk unsharing (#32887) 2026-10-22 08:32:51 +09:00
functions.py fix: pipes and tools get None instead of a file list when nothing is attached (#32380) 2026-10-14 12:18:55 +04:00
main.py refac 2026-10-26 07:24:36 +09:00
tasks.py refac 2026-10-16 04:20:53 +04:00