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
19.15k stars 3.19k forks source link

Enhancement: Enable Forking, Editing, Regenerating, and Read-Aloud for Messages in Assistants Chat #4124

Closed hanna-daoud closed 1 month ago

hanna-daoud commented 1 month ago

What features would you like to see added?

Currently, in the Assistants Chat feature, users are unable to fork, edit, regenerate, or read aloud messages. These options are available in the regular chat but not supported in the Assistants Chat.

More details

Please add support for the following functionalities within Assistants Chat:

  1. Fork Message: Allow users to fork a message and create a new conversation branch.
  2. Edit Message: Enable users to modify a message post-sending.
  3. Regenerate Message: Allow users to regenerate responses from assistants.
  4. Read Aloud: Implement the read-aloud feature for messages within Assistants Chat.

Which components are impacted by your request?

UI

Pictures

No response

Code of Conduct

danny-avila commented 1 month ago

When using Assistants API, the thread history is managed by OpenAI. It is possible to manipulate it but rather convoluted to achieve the same functionality as the other endpoints for forking, editing, regenerating.

The upside, is that I'm making my own "assistants api" alternative which will allow for all of this, nearing completion: https://github.com/danny-avila/LibreChat/issues/3607