mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
Pipeline overriding two simultaneos requests. #124
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 @Tavernari on GitHub (Sep 21, 2024).
Basically, I have two accounts on my OpenWebUI.
The first account calls my pipeline, then the second account also calls it but the second user responds faster than the first, so the first user also receives the message requested by the second user instead of the user 1 request.
How to avoid that?
My pipeline: https://github.com/Tavernari/openwebui-pipelines/blob/main/o1-reasoning.py
@Tavernari commented on GitHub (Sep 21, 2024):
For future same issue, the problem is because I was saving things on self, and since it shares the instance, it was messing with my algorithm.
@Panicum commented on GitHub (Sep 23, 2024):
@Tavernari
And how did you manage to fix it and still save some "context" for the users and don't use ".self"/don't mix their conversations?
@sir3mat commented on GitHub (Oct 31, 2024):
follow