feat(format-history): remove extra :

This commit is contained in:
ItzCrazyKns
2025-07-23 12:20:49 +05:30
parent 6ea17d54c6
commit 9d89a4413b
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@ const formatChatHistoryAsString = (history: BaseMessage[]) => {
return history
.map(
(message) =>
`${isAIMessage(message) ? 'AI' : 'User:'}: ${message.content}`,
`${isAIMessage(message) ? 'AI' : 'User'}: ${message.content}`,
)
.join('\n');
};