Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Mutugiii committed Apr 29, 2024
1 parent 4bebfd1 commit 235db95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions chatapi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ wss.on('connection', (ws) => {
}));
}
} catch (error: any) {
console.log(error);
ws.send(`Error: ${error.message}: Cannot connect to the streaming endpoint`);
ws.send(`${error.message}: Cannot connect to the streaming endpoint`);
}
});

Expand Down
1 change: 0 additions & 1 deletion src/app/chat/chat-window/chat-window.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ export class ChatWindowComponent implements OnInit, OnDestroy {
this.data = { ...this.data, content, aiProvider: this.provider };

this.setSelectedConversation();
console.log(this.streaming);

if (this.streaming) {
this.conversations.push({ role: 'user', query: content, response: '' });
Expand Down

0 comments on commit 235db95

Please sign in to comment.