Skip to content

Commit a5ff94d

Browse files
author
Ian Seabock (Centific Technologies Inc)
committed
address history not being saved
1 parent d98ef41 commit a5ff94d

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

frontend/src/pages/chat/Chat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ const Chat = () => {
652652
}
653653
const noContentError = appStateContext.state.currentChat.messages.find(m => m.role === ERROR)
654654

655-
if (typeof noContentError?.content === "string" && !noContentError?.content.includes(NO_CONTENT_ERROR)) {
655+
if (!noContentError) {
656656
saveToDB(appStateContext.state.currentChat.messages, appStateContext.state.currentChat.id)
657657
.then(res => {
658658
if (!res.ok) {

static/assets/index-59f36d49.js renamed to static/assets/index-133ad4a5.js

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

static/assets/index-59f36d49.js.map renamed to static/assets/index-133ad4a5.js.map

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

static/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link rel="icon" type="image/x-icon" href="{{ favicon }}" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>{{ title }}</title>
8-
<script type="module" crossorigin src="/assets/index-59f36d49.js"></script>
8+
<script type="module" crossorigin src="/assets/index-133ad4a5.js"></script>
99
<link rel="stylesheet" href="/assets/index-65ec62ea.css">
1010
</head>
1111
<body>

0 commit comments

Comments
 (0)