Skip to content

Commit

Permalink
Merge pull request #528 from jmartisk/remove-timestamps
Browse files Browse the repository at this point in the history
Remove timestamps from chat messages for now
  • Loading branch information
jmartisk committed Apr 30, 2024
2 parents fe5ff33 + 54630d1 commit 669cac7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core/deployment/src/main/resources/dev-ui/qwc-chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ status = ${item.toolExecutionResult.text}`);
_createNewItem(message, user, colorIndex) {
return {
text: message,
time: new Date().toLocaleString(),
// FIXME: figure out how to store the correct timestamp
// for each message? This is hard because we retrieve
// the messages from the ChatMemory, which doesn't support
// storing additional metadata with messages
// time: new Date().toLocaleString(),
userName: user,
userColorIndex: colorIndex,
};
Expand Down

0 comments on commit 669cac7

Please sign in to comment.