[changes] Field standardization

This commit is contained in:
lanceyq
2026-03-12 19:13:24 +08:00
parent 110de0afbc
commit 572ce7f9ec

View File

@@ -749,8 +749,8 @@ 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, limit, db, current_user)
chunks = rag_content.get("contents", [])
rag_content = get_rag_content(end_user_id, 1, limit, db, current_user)
chunks = rag_content.get("items", [])
if not chunks:
business_logger.warning(f"未找到chunk内容无法生产RAG画像: end_user_id={end_user_id}")