mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-08-02 02:09:52 +00:00
✨ 更新 mypy 版本至 1.13.0,重构 marshoai-megakits 模块并添加随机数和计算功能
This commit is contained in:
@ -0,0 +1,2 @@
|
||||
async def write_memory(memory: str):
|
||||
return ""
|
21
nonebot_plugin_marshoai/tools_wip/marshoai_memory/tools.json
Normal file
21
nonebot_plugin_marshoai/tools_wip/marshoai_memory/tools.json
Normal file
@ -0,0 +1,21 @@
|
||||
[
|
||||
{
|
||||
"type": "function",
|
||||
"function": {
|
||||
"name": "marshoai-memory__write_memory",
|
||||
"description": "当你想记住有关与你对话的人的一些信息的时候,调用此函数。",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"memory": {
|
||||
"type": "string",
|
||||
"description": "你想记住的内容,概括并保留关键内容。"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"memory"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user