llamaindexfunctionsFunction: messagesToHistoryStr()On this pageFunction: messagesToHistoryStr() messagesToHistoryStr(messages): string Parameters • messages: ChatMessage[] Returns string Source packages/core/src/Prompt.ts:361