mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
issue: RAG with gemma-3-12b-instruct causes infinite loop and HTTPException "list object has no attribute 'get'" error #6321
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 @dev-jonathan on GitHub (Sep 4, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.6.26 most recent commit
Ollama Version (if applicable)
No response
Operating System
Windows
Browser (if applicable)
Brave
Confirmation
README.md.Expected Behavior
Expected Behavior
Using the gemma-3-12b-instruct model with RAG enabled in the latest OpenWebUI (local setup), the system should process the request and return a response without getting stuck.
Actual Behavior
Actual Behavior
The system enters an infinite loop and no response is returned. The error in the logs shows:
fastapi.exceptions.HTTPException: 400: 'list' object has no attribute 'get'
with a message indicating "Developer instruction is not enabled for models/gemma-3-12b-it".
obs: Without RAG, the gemma-3-12b-instruct model works fine. Also, RAG works correctly with the gemini-2.0-flash model, so the issue seems to be specific to the gemma-3-12b-instruct model combined with RAG.
Steps to Reproduce
Steps to Reproduce
Use the latest OpenWebUI version locally with Conda and Node.js.
Set the model to gemma-3-12b-instruct and activate RAG.
Use embeddings from qwen3-embedding running locally on LM Studio and Google AI Studio free API as backend.
Send a request in a chat and observe the infinite loop and error in the logs.
Logs & Screenshots
Additional Information
No response
@tjbck commented on GitHub (Sep 5, 2025):
Is the inference provider openai compatible? the format shown above does not follow the spec.
@tjbck commented on GitHub (Sep 5, 2025):
1bc9711afd