Skip to content

Commit

Permalink
adding a newline between assistant messages
Browse files Browse the repository at this point in the history
  • Loading branch information
farzadab committed Nov 15, 2023
1 parent c94cf7d commit 6802e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/voice/src/app/agent/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class ChatRequest {
const currentMessage = currentTurn.messages
.filter((m: any) => m.kind === 'text')
.map((m: any) => m.content)
.join('');
.join('\n');

if (currentMessage === this.outMessage) {
continue;
Expand Down

0 comments on commit 6802e0a

Please sign in to comment.