Files
my_one_web/api/memory.py

23 lines
427 B
Python
Raw Normal View History

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
记忆管理 API
作者小白 🐶
"""
from flask import jsonify
from . import api
@api.route('/memory')
def get_memory():
"""获取记忆统计"""
# TODO: 实现 OpenClaw 记忆查询
return jsonify({
'success': True,
'data': {
'total': 0,
'today': 0
},
'message': '记忆管理功能开发中'
})