[GH-ISSUE #9761] Model stops outputting after 1 token, JSON.parse error #15639

Closed
opened 2026-04-19 21:48:13 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Aareon on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9761

 
105.87 sec
 

To 
  
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

After checking journalctl, I only see 1 type of warning

Feb 10 12:02:08 openwebui-test start.sh[186]: INFO  [open_webui.retrieval.utils] query_doc:result [['ae1918c3-2666-4c2b-a055-ea9f66a00981', 'c0b4a4b7-2b87-4667>
Feb 10 12:02:08 openwebui-test start.sh[186]: WARNI [chromadb.segment.impl.vector.local_persistent_hnsw] Number of requested results 10 is greater than number >
</

repeated several times>

I apologize in advance for the truncated log.
oui.log

I've tested with all functions and actions disabled to no avail. I believe it's related to the knowledge because this error only began occurring consistently when I added knowledge from the workspace to the model.

Originally created by @Aareon on GitHub (Feb 10, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/9761 ``` 105.87 sec To SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data ``` After checking `journalctl`, I only see 1 type of warning ``` Feb 10 12:02:08 openwebui-test start.sh[186]: INFO [open_webui.retrieval.utils] query_doc:result [['ae1918c3-2666-4c2b-a055-ea9f66a00981', 'c0b4a4b7-2b87-4667> Feb 10 12:02:08 openwebui-test start.sh[186]: WARNI [chromadb.segment.impl.vector.local_persistent_hnsw] Number of requested results 10 is greater than number > </ repeated several times> ``` I apologize in advance for the truncated log. [oui.log](https://github.com/user-attachments/files/18738951/oui.log) I've tested with all functions and actions disabled to no avail. I believe it's related to the knowledge because this error only began occurring consistently when I added knowledge from the workspace to the model.
Author
Owner

@Aareon commented on GitHub (Feb 10, 2025):

Can confirm this issue occurs only when knowledge is added to the custom model. Upon removing the knowledge, the model has no issue outputting.

<!-- gh-comment-id:2648920284 --> @Aareon commented on GitHub (Feb 10, 2025): Can confirm this issue occurs only when knowledge is added to the custom model. Upon removing the knowledge, the model has no issue outputting.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15639