From 6bb933ca29dcafdaa143b33627616d98edf9af7d Mon Sep 17 00:00:00 2001 From: Manoj K Date: Mon, 30 Jun 2025 12:23:46 +0530 Subject: [PATCH] refactor: remove referenceTime parameter from knowledge graph ingestion --- mcp/src/operations/graph.ts | 1 - mcp/src/types/graph.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/mcp/src/operations/graph.ts b/mcp/src/operations/graph.ts index ef658e2..4cf91ab 100644 --- a/mcp/src/operations/graph.ts +++ b/mcp/src/operations/graph.ts @@ -14,7 +14,6 @@ export async function ingestKnowledgeGraph(args: IngestKG) { const response = await axiosInstance.post(`/ingest`, { episodeBody: args.message, source: process.env.SOURCE, - referenceTime: args.referenceTime, sessionId: undefined, }); return response.data; diff --git a/mcp/src/types/graph.ts b/mcp/src/types/graph.ts index 9bb06d5..efd0284 100644 --- a/mcp/src/types/graph.ts +++ b/mcp/src/types/graph.ts @@ -9,7 +9,6 @@ export const SearchKGSchema = z.object({ export const IngestKGSchema = z.object({ message: z.string().describe("The data to ingest in text format"), - referenceTime: z.string().describe("The reference time in ISO format"), }); export type SearchKG = z.infer;