llamaindexfunctionsFunction: messagesToHistoryStr()محتويات هذه الصفحةFunction: messagesToHistoryStr() messagesToHistoryStr(messages): string Parameters • messages: ChatMessage[] Returns string Source packages/core/src/Prompt.ts:361