(pageId: string)
| 175 | } |
| 176 | |
| 177 | export function getCurrentPath(pageId: string): ChatMessage[] { |
| 178 | const record = stores.message.get(pageId) |
| 179 | if (!record) return [] |
| 180 | return getMessagePath(record.messages, record.leafMessageId) |
| 181 | } |
| 182 | |
| 183 | // ==================== 辅助函数 ==================== |
| 184 |
nothing calls this directly
no test coverage detected