mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-31 14:00:34 -05:00
[GH-ISSUE #20622] feat: force Agentic (Native tool calling mode) Knowledge base retrieval #89978
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 @jegranado on GitHub (Jan 12, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/20622
Check Existing Issues
Verify Feature Scope
Problem Description
Hello,
The Agentic KB query is blazing fast comparing to the former way of hitting RAG content.
It works really well.... when it works 🫠
I have to constantly ask the model to try looking at the KB to find relevant information, but it is not consistent, and more often than not it reverts to the model's own data.
Desired Solution you'd like
I'd like to have the option to force the query_knowledge_* function calls for a given model.
It works so well - when it works.
Alternatives Considered
I've tried some Prompt Engineering, but it's not bulletproof.
Maybe my real answer is finetuning?
Additional Context
I do have a situation where I have "more detailed"/"preferred" information about things that are open to the world, so the LLMs tend to have outdated/misleading information about what my users are asking for.
@Classic298 commented on GitHub (Jan 12, 2026):
Model limitation, you can't force the model to use it, the model needs to choose to use the tool
you can only improve that via prompting and/or system prompt and telling the model to make use of it