danny-avila / LibreChat

Enhanced ChatGPT Clone: Features Anthropic, AWS, OpenAI, Assistants API, Azure, Groq, o1, GPT-4o, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. Actively in public development.
https://librechat.ai/
MIT License
17.63k stars 2.92k forks source link

Enhancement: Maintain Multi-Response Generations, side-by-side UI #3659

Open burson-huit opened 1 month ago

burson-huit commented 1 month ago

What happened?

In 0.7.4, the second response in a multiple LLM response disappears when you switch away to a different chat session and then come back to the chat session with the multi-response

Steps to Reproduce

  1. Use + button to add first LLM to multi-response chat
  2. Use LLM picker to add second LLM to multi-response chat
  3. ask question
  4. get both responses presented to you in the chat session
  5. switch away and view a different chat session
  6. switch back to the chat session that contains the multi-response chat
  7. the 2nd LLM response has disappeared and only the first LLM's response remains

What browsers are you seeing the problem on?

Firefox, Safari

Relevant log output

No response

Screenshots

Screenshot 2024-08-15 at 15 26 20 Screenshot 2024-08-15 at 15 26 55

Code of Conduct

danny-avila commented 1 month ago

It goes back to single response mode but the second message is still there:

Start Multi-response

image

Revisit Conversation

Both messages are present, but must be cycled as is normal

image image

Reason

As mentioned in #3194, while I understand the user expects the conversation not to "revert" to single response mode, this was the easiest solution: to maintain "multi-response mode" only while the conversation was active.

When ChatGPT used to generate responses side-by-side, it would exhibit this same behavior upon revisiting the conversation. This was, maybe still is, a hidden feature, activated sporadically if you regenerated a message once or twice. This was the main inspiration for LibreChat's implementation.

Proposal

Given that the messages are all still there in the correct relationship upon revisit, I'm removing the "bug" label.

However, since the common expectation for this feature is to "maintain" the side-by-side generations, I will mark this a planned feature request or "Enhancement" to maintain "multi-response" generations.

burson-huit commented 1 month ago

Got it -- I now see the 1/2 and 2/2 nav button. That's ... obscure.

Switching title and label from bug to enhancement works for me.