Skip to content

Commit 62b1e70

Browse files
authored
feat(ui): conversation history in UI (#732)
1 parent ff4227b commit 62b1e70

39 files changed

+980
-586
lines changed

package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ragbits-chat/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- Add feedback indicator to messages, allow `extensions` in chat messages (#722)
88
- Added unit tests for UI's core components (#717)
99
- Added share functionality with informative modal (#726)
10+
- Added persisent chat history to the default UI using IndexedDB (#732)
1011

1112
## 1.1.0 (2025-07-09)
1213

packages/ragbits-chat/src/ragbits/chat/interface/_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ async def wrapper(
6868

6969
# Generate conversation_id if this is the first message
7070
is_new_conversation = False
71-
if not context.conversation_id and (not history or len(history) == 0):
71+
if not context.conversation_id:
7272
context.conversation_id = str(uuid.uuid4())
7373
is_new_conversation = True
7474
yield ChatResponse(type=ChatResponseType.CONVERSATION_ID, content=context.conversation_id)

packages/ragbits-chat/src/ragbits/chat/ui-build/assets/ChatOptionsForm-BKEhD5H-.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/ragbits-chat/src/ragbits/chat/ui-build/assets/ChatOptionsForm-C6PyuEHk.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/ragbits-chat/src/ragbits/chat/ui-build/assets/FeedbackForm-CircDKTC.js renamed to packages/ragbits-chat/src/ragbits/chat/ui-build/assets/FeedbackForm-Cj_gbqIs.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)