fix:收敛A_Memorix最小回归修复
最小修复聊天摘要写回游标恢复、摘要元数据透传、webui反馈参数解析、embedding批次缓存索引、图存储清理与配置默认值回归,并补齐针对性回归测试,确保问题解决且不影响现有逻辑。
This commit is contained in:
@@ -208,7 +208,7 @@ def _resolve_static_path() -> Path | None:
|
||||
# 开发环境优先允许复用仓库里的现成 dist
|
||||
base_dir = _get_project_root()
|
||||
static_path = base_dir / "dashboard" / "dist"
|
||||
if static_path.exists():
|
||||
if static_path.is_dir() and (static_path / "index.html").exists():
|
||||
return static_path
|
||||
|
||||
try:
|
||||
|
||||
@@ -365,11 +365,13 @@ async def _profile_delete_override(person_id: str) -> dict:
|
||||
|
||||
|
||||
async def _feedback_list(limit: int, status: str, rollback_status: str, query: str) -> dict:
|
||||
statuses = [item.strip() for item in str(status or "").split(",") if item.strip()]
|
||||
rollback_statuses = [item.strip() for item in str(rollback_status or "").split(",") if item.strip()]
|
||||
return await memory_service.feedback_admin(
|
||||
action="list",
|
||||
limit=limit,
|
||||
status=status,
|
||||
rollback_status=rollback_status,
|
||||
statuses=statuses,
|
||||
rollback_statuses=rollback_statuses,
|
||||
query=query,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user