We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0796377 commit 489fc13Copy full SHA for 489fc13
crates/openfang-api/static/js/pages/chat.js
@@ -488,9 +488,8 @@ function chatPage() {
488
this.connectWs(agent.id);
489
// Show welcome tips on first use
490
if (!localStorage.getItem('of-chat-tips-seen')) {
491
- var localMsgId = 0;
492
this.messages.push({
493
- id: ++localMsgId,
+ id: ++msgId,
494
role: 'system',
495
text: '**Welcome to OpenFang Chat!**\n\n' +
496
'- Type `/` to see available commands\n' +
0 commit comments