mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-16 23:43:03 +00:00
A web search is not something that can be cited. The search engine returns a title, a link and a one line snippet for each hit, and the model never opens any of those pages. Emitting them as citation sources produced one <source> tag per result, all named search_web with empty bodies, and the citation template then instructed the model to cite them by id. Models either hesitated visibly or attached an id to content from a different result, which the citations panel then resolved to a title that looked plausible, so the misattribution read as correct. Web search results now stay in the tool output the model reads, and stop being offered as things to cite. Where the model needs to cite a page it calls fetch_url, whose citation names the URL and already works. Web search results no longer appear in the citations panel. That is the point of the change: the panel was offering pages that nothing had read. Scoped to the native tool-calling path. The legacy handler cites every tool result as one opaque source and does not single out web search, so it is left alone rather than special-cased. |
||
|---|---|---|
| .. | ||
| data | ||
| open_webui | ||
| .dockerignore | ||
| .gitignore | ||
| dev.sh | ||
| requirements-min.txt | ||
| requirements.txt | ||
| start.sh | ||
| start_windows.bat | ||