* 获取记忆谱系链 * 从根记忆到当前记忆的完整路径 * * @param memoryId 记忆 ID * @returns 谱系链
(memoryId: string)
| 213 | * @returns 谱系链 |
| 214 | */ |
| 215 | async getLineage(memoryId: string): Promise<Provenance[]> { |
| 216 | const result = await this.request<{ lineage: Provenance[] }>(`/v1/memory/lineage/${memoryId}`); |
| 217 | return result.lineage; |
| 218 | } |
| 219 | |
| 220 | // ========================================================================== |
| 221 | // Memory Consolidation (合并) API |
no outgoing calls
no test coverage detected