We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6b20c9 + db18081 commit 529f977Copy full SHA for 529f977
packages/core/src/memory.ts
@@ -194,6 +194,7 @@ export class MemoryManager implements IMemoryManager {
194
195
async getMemoriesByRoomIds(params: { roomIds: UUID[] }): Promise<Memory[]> {
196
return await this.runtime.databaseAdapter.getMemoriesByRoomIds({
197
+ tableName: this.tableName,
198
agentId: this.runtime.agentId,
199
roomIds: params.roomIds,
200
});
packages/core/src/types.ts
@@ -725,6 +725,7 @@ export interface IDatabaseAdapter {
725
getMemoryById(id: UUID): Promise<Memory | null>;
726
727
getMemoriesByRoomIds(params: {
728
+ tableName: string;
729
agentId: UUID;
730
roomIds: UUID[];
731
}): Promise<Memory[]>;
0 commit comments