llamaindexfunctionsFunction: messagesToHistoryStr()이 페이지에서Function: messagesToHistoryStr() messagesToHistoryStr(messages): string Parameters • messages: ChatMessage[] Returns string Source packages/core/src/Prompt.ts:361