Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix(core): filter default conversation messages (#9875)

Christina Tongbf2cf0114b1c
diff --git a/letta/server/rest_api/routers/v1/conversations.py b/letta/server/rest_api/routers/v1/conversations.py
index 5014b77bb..8da826dd1 100644
--- a/letta/server/rest_api/routers/v1/conversations.py
+++ b/letta/server/rest_api/routers/v1/conversations.py
@@ -1,6 +1,5 @@
from datetime import timedelta
from typing import Annotated, List, Literal, Optional
-
from uuid import uuid4
from fastapi import APIRouter, Body, Depends, HTTPException, Query, status
@@ -199,7 +198,7 @@ async def list_conversation_messages(
before=before,
limit=limit,
group_id=group_id,
- conversation_id=None, # Default conversation (no isolation)
+ conversation_id="default", # Filter to default conversation messages only
reverse=(order == "desc"),
return_message_object=False,
include_err=include_err,