mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-24 02:08:51 +00:00
1. fix: when episode is already deleted then directly remove the ingestionQueue
2. fix: mcp tool description
This commit is contained in:
parent
812d7dea51
commit
62fdf6181a
@ -195,7 +195,8 @@ export async function deleteEpisodeWithRelatedNodes(params: {
|
|||||||
|
|
||||||
if (!episodeCheck || episodeCheck.length === 0) {
|
if (!episodeCheck || episodeCheck.length === 0) {
|
||||||
return {
|
return {
|
||||||
episodeDeleted: false,
|
// Return true if no episode exist
|
||||||
|
episodeDeleted: true,
|
||||||
statementsDeleted: 0,
|
statementsDeleted: 0,
|
||||||
entitiesDeleted: 0,
|
entitiesDeleted: 0,
|
||||||
factsDeleted: 0,
|
factsDeleted: 0,
|
||||||
|
|||||||
@ -17,15 +17,18 @@ const SearchParamsSchema = {
|
|||||||
},
|
},
|
||||||
validAt: {
|
validAt: {
|
||||||
type: "string",
|
type: "string",
|
||||||
description: "The valid at time in ISO format",
|
description:
|
||||||
|
"Point-in-time reference for temporal queries (ISO format). Returns facts valid at this timestamp. Defaults to current time if not specified.",
|
||||||
},
|
},
|
||||||
startTime: {
|
startTime: {
|
||||||
type: "string",
|
type: "string",
|
||||||
description: "The start time in ISO format",
|
description:
|
||||||
|
"Filter memories created/valid from this time onwards (ISO format). Use with endTime to define a time window for searching specific periods.",
|
||||||
},
|
},
|
||||||
endTime: {
|
endTime: {
|
||||||
type: "string",
|
type: "string",
|
||||||
description: "The end time in ISO format",
|
description:
|
||||||
|
"Upper bound for temporal filtering (ISO format). Combined with startTime creates a time range. Defaults to current time if not specified.",
|
||||||
},
|
},
|
||||||
spaceIds: {
|
spaceIds: {
|
||||||
type: "array",
|
type: "array",
|
||||||
@ -59,7 +62,7 @@ export const memoryTools = [
|
|||||||
{
|
{
|
||||||
name: "memory_search",
|
name: "memory_search",
|
||||||
description:
|
description:
|
||||||
"AUTOMATICALLY invoke for memory searches. Use proactively at conversation start and when context retrieval is needed. Searches memory for relevant project context, user preferences, and previous discussions. **Purpose**: Retrieve previously stored information based on query terms. **Required**: Provide a search query in third person perspective. **Returns**: matching memory entries in JSON format",
|
"AUTOMATICALLY invoke for memory searches. Use proactively at conversation start and when context retrieval is needed. Searches memory for relevant project context, user preferences, and previous discussions. **Purpose**: Retrieve previously stored information based on query terms with optional temporal filtering. **Required**: Provide a search query in third person perspective. **Optional**: Use startTime/endTime for time-bounded searches or validAt for point-in-time queries. **Returns**: matching memory entries in JSON format",
|
||||||
inputSchema: SearchParamsSchema,
|
inputSchema: SearchParamsSchema,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user