Stabilize core correctness and sync project plan state
This commit is contained in:
@@ -192,6 +192,7 @@ def api_create_memory(req: MemoryCreateRequest) -> dict:
|
||||
@router.get("/memory")
|
||||
def api_get_memories(
|
||||
memory_type: str | None = None,
|
||||
project: str | None = None,
|
||||
active_only: bool = True,
|
||||
min_confidence: float = 0.0,
|
||||
limit: int = 50,
|
||||
@@ -199,6 +200,7 @@ def api_get_memories(
|
||||
"""List memories, optionally filtered."""
|
||||
memories = get_memories(
|
||||
memory_type=memory_type,
|
||||
project=project,
|
||||
active_only=active_only,
|
||||
min_confidence=min_confidence,
|
||||
limit=limit,
|
||||
@@ -209,6 +211,7 @@ def api_get_memories(
|
||||
"id": m.id,
|
||||
"memory_type": m.memory_type,
|
||||
"content": m.content,
|
||||
"project": m.project,
|
||||
"confidence": m.confidence,
|
||||
"status": m.status,
|
||||
"updated_at": m.updated_at,
|
||||
|
||||
Reference in New Issue
Block a user