mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #22616] issue: oracle23ai.py UnboundLocalError: cannot access local variable 'limit' where it is not associated with a value when hybrid search is activated #19767
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 @michal-zima-cnb on GitHub (Mar 12, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22616
Check Existing Issues
Installation Method
Docker
Open WebUI Version
General Version v0.8.8
Ollama Version (if applicable)
No response
Operating System
Red Hat Enterprise Linux release 9.7
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Hybrid search is working correctly together with Oracle 23ai (as vector store)
Actual Behavior
We are facing almost identical issue/bug as described in https://github.com/open-webui/open-webui/issues/18356 . We are using Oracle 23ai as vector store and when we switched on Hybrid Search (Admin Panel -Settings- Document) and when performing chat based on uploaded document, document search is ending up with error, shown in Open WebUI log - see attached file.
OpenWebUI_oracle23ai.py_UnboundLocalError_Hybrid_Search_20260312.txt
Steps to Reproduce
Setup integration with Oracle 23ai DB as vector store
Switch on Hybrid Search (Admin Panel -Settings- Document)
Upload document into chat and perform search/queries based on uploaded document
Logs & Screenshots
OpenWebUI_oracle23ai.py_UnboundLocalError_Hybrid_Search_20260312.txt
Additional Information
No response
@Classic298 commented on GitHub (Mar 17, 2026):
fcf7208352@michal-zima-cnb commented on GitHub (Mar 22, 2026):
Just one question @tjbck : Will the fix be included into next release (v 0.8.11) ?
Thanks for confirmation