[changes] Set constants

This commit is contained in:
lanceyq
2026-03-12 19:50:32 +08:00
parent 572ce7f9ec
commit 6a67f028ce

View File

@@ -749,7 +749,7 @@ async def generate_rag_profile(
if not end_user:
raise ValueError(f"end_user {end_user_id} 不存在")
rag_content = get_rag_content(end_user_id, 1, limit, db, current_user)
rag_content = get_rag_content(end_user_id, page=1, pagesize=limit, db=db, current_user=current_user)
chunks = rag_content.get("items", [])
if not chunks: