mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:40:32 -05:00
[GH-ISSUE #10874] BUG: Incorrect source_idx assignment in full context mode with search enabled #16061
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 @leantli on GitHub (Feb 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10874
Bug Report
Installation Method
When using full context mode with search enabled, the system generates 1-3 query terms to search.
Each query term can return multiple websites (e.g., if 1 query term returns 3 websites, then 3 query terms could return 9 websites total).
Expected behavior: Each website should be assigned a unique source_idx.
Current behavior: All websites returned from the same query are assigned the same source_idx.
Impact: This causes the model to misunderstand during inference since it cannot properly distinguish between different sources.
Environment
Open WebUI Version: 0.5.16
Operating System: macOS Big Sur
Browser (if applicable): Chrome
Confirmation:
Screenshots/Screen Recordings (if applicable):
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!