mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
Chatting with two models at once, second request takes history (first answer) from one model and uses it in request to both models #1821
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 @vlsav on GitHub (Aug 19, 2024).
Bug Report
Installation Method
docker
Environment
v0.3.13
no Ollama, two openai compatible endpoints
Linux, RedHat
Firefox 98.0
Confirmation:
Expected Behavior:
Chatting with two models at once, second request takes history (first answer) from one model and uses it in request to both models. It was expected that both chats are fully separated and first model answers used as a history in requests to first model, second model answers used as a history in requests to second model.
Actual Behavior:
Initially I noticed quite strange responses on second question, as it looks like one model "stole" answer from another model.
Than I changes models order (first <-> second) and situation wth answers also swapped.
So I checked what are requests coming to OpenAI API and notices that second requests is identical fr both models and contains answer from only one model.
Description
Bug Summary:
Chats with several models are not fully separate, answer from one models used to continue conversation with everal models.
Reproduction Details
Steps to Reproduce:
like described above, no much can be added there
Logs and Screenshots
Browser Console Logs:
not applicable
Docker Container Logs:
not applicable
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
The chat history doesn't contain full information about what is send to model on second request and how historical answers added inti second (third, ...) request. So chat logs doesn't help.
@tjbck commented on GitHub (Aug 19, 2024):
Fixed on dev. Please check for duplicate issues before creating one, Thanks.
@vlsav commented on GitHub (Aug 19, 2024):
@tjbck sorry, didn't find it. thank you@
@ruschestor commented on GitHub (Aug 20, 2024):