mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-10 15:54:15 -05:00
issue: Issue with using a tool call and knolwedge documents. #6631
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rahepler2 on GitHub (Oct 8, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.11.2
Ollama Version (if applicable)
No response
Operating System
RHEL
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
The expected behavior is that the tool call would check if there is anything useful from the user's prompt, if not it would continue on to using the knowledge base attached for RAG.
Actual Behavior
Currently it's running the tool and the RAG chunk check at the same time and giving me a token count error saying that I'm using over 3M tokens in the call and that it needs to be reduced.
Steps to Reproduce
Logs & Screenshots
This model's maximum context length is 128000 tokens. However, your messages resulted in 306326 tokens. Please reduce the length of the messages.
This is reduced from the 3M before when I reduced the chunks in the rag retrieval section to < 10
Additional Information
No response
@ayylmaonade commented on GitHub (Oct 8, 2025):
I believe this is related to #18133 - downgrading resolves it. Just have to wait for a fix.