mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-11 18:48:27 +00:00
fix: dedup entities
This commit is contained in:
parent
923c7e6549
commit
892ed79990
@ -74,19 +74,16 @@ export class KnowledgeGraphService {
|
||||
sessionId: params.sessionId,
|
||||
});
|
||||
|
||||
// const normalizedEpisodeBody = await this.normalizeEpisodeBody(
|
||||
// params.episodeBody,
|
||||
// params.source,
|
||||
// params.userId,
|
||||
// );
|
||||
const normalizedEpisodeBody = await this.normalizeEpisodeBody(
|
||||
params.episodeBody,
|
||||
params.source,
|
||||
params.userId,
|
||||
);
|
||||
|
||||
const normalizedEpisodeBody = `- Harshith Mullapudi requested the assistant to retrieve details from a specific task description, use the claude_code tool, create a new branch named "harshith/image-fix," and push changes to that branch.
|
||||
- The assistant initiated actions to get the task details and to use the claude_code tool as instructed by Harshith Mullapudi.`;
|
||||
|
||||
// if (normalizedEpisodeBody === "NOTHING_TO_REMEMBER") {
|
||||
// logger.log("Nothing to remember");
|
||||
// return;
|
||||
// }
|
||||
if (normalizedEpisodeBody === "NOTHING_TO_REMEMBER") {
|
||||
logger.log("Nothing to remember");
|
||||
return;
|
||||
}
|
||||
|
||||
// Step 2: Episode Creation - Create or retrieve the episode
|
||||
const episode: EpisodicNode = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user