mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 21:46:10 +08:00
再次修改description,尝试重新isort
This commit is contained in:
parent
f9dc5e500e
commit
83a5f6ae5d
@ -1,9 +1,9 @@
|
|||||||
|
import json
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from nonebot import require
|
from nonebot import require
|
||||||
|
|
||||||
require("nonebot_plugin_localstore")
|
require("nonebot_plugin_localstore")
|
||||||
import json
|
|
||||||
|
|
||||||
from nonebot_plugin_localstore import get_plugin_data_file
|
from nonebot_plugin_localstore import get_plugin_data_file
|
||||||
|
|
||||||
@ -23,7 +23,9 @@ if not Path(memory_path).exists():
|
|||||||
# print(memory_path)
|
# print(memory_path)
|
||||||
|
|
||||||
|
|
||||||
@on_function_call(description="存储记忆内容").params(
|
@on_function_call(
|
||||||
|
description="当你发现与你对话的用户的一些信息值得你记忆,或者用户让你记忆等时,调用此函数存储记忆内容"
|
||||||
|
).params(
|
||||||
memory=String(description="你想记住的内容,概括并保留关键内容"),
|
memory=String(description="你想记住的内容,概括并保留关键内容"),
|
||||||
user_id=String(description="你想记住的人的id"),
|
user_id=String(description="你想记住的人的id"),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user