huggingface / huggingface/chat-ui
Reduce number of http calls
Open
- Dominant language
- TypeScript
- Stars
- 11k
- Forks
- 1.7k
- Avg merge
- 21h 24m
- Merged PRs (30d)
- 56
Description
- When opening a new conversation: create conversation, then call to send first message, then set conversation title
- When sending a message on a shared conversation: duplicate conversation, then call to send first message
- When retrying a message on a shared conversation: duplicate conversation, then retry
Each of those is two or three calls, they should only be one.
In the backend of message sending, we can maybe send a first token with the conversation id, and sometimes a last token with the conversation title?
It will also help with #19
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.