Generate Sibling Message from Custom AI Endpoint (how to generate it from the Custom AI Endpoint)) #4330
Unanswered
schnaker85
asked this question in
Q&A
Replies: 1 comment
-
@danny-avila anything to mention to this old Q? Would be helpful to know if this is somewhen coming back or not? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi guys,
First of all, we do very like librechat and we are currently do a POC for some custom endpoints OpenAI Endpoints which work perfectly in streaming mode (chat/completions).
We now have the case that we are generating a message and an optional message with it, which should only be visible if the user really wants to get additional information about the message (like more details). We first tried it to have a collapsible item in markdown but due to the current implementation it does not work (rehype-raw is not enabled)
So we would like to add to the first message a sibling message, which the user is able to "see the details". E.g. if I regenerate a message it somehow appears there. Just to clarify I mean this 1/2 or 2/2 message as shown on the screen.

Now the question is, how do I generate (either in the same response stream, or after) a message which appears there as 2/2?
The html element is called sibling, that's why I call it sibling :-)
Thanks for your help.
Cheers
dani
Beta Was this translation helpful? Give feedback.
All reactions