mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 18:36:09 +08:00
2 lines
2.2 KiB
JavaScript
2 lines
2.2 KiB
JavaScript
|
import{_ as i,c as s,ae as e,o as t}from"./chunks/framework.BzDBnRMZ.js";const _=JSON.parse('{"title":"index","description":"","frontmatter":{"title":"index","collapsed":true},"headers":[],"relativePath":"dev/api/tools_wip/marshoai_memory/index.md","filePath":"zh/dev/api/tools_wip/marshoai_memory/index.md","lastUpdated":1734175019000}'),o={name:"dev/api/tools_wip/marshoai_memory/index.md"};function n(r,a,m,l,h,p){return t(),s("div",null,a[0]||(a[0]=[e('<h1 id="模块-nonebot-plugin-marshoai-tools-wip-marshoai-memory" tabindex="-1"><strong>模块</strong> <code>nonebot_plugin_marshoai.tools_wip.marshoai_memory</code> <a class="header-anchor" href="#模块-nonebot-plugin-marshoai-tools-wip-marshoai-memory" aria-label="Permalink to "**模块** `nonebot_plugin_marshoai.tools_wip.marshoai_memory`""></a></h1><hr><h3 id="async-func-write-memory-memory-str" tabindex="-1"><em><strong>async func</strong></em> <code>write_memory(memory: str)</code> <a class="header-anchor" href="#async-func-write-memory-memory-str" aria-label="Permalink to "***async func*** `write_memory(memory: str)`""></a></h3><details><summary><b>源代码</b> 或 <a href="https://github.com/LiteyukiStudio/nonebot-plugin-marshoai/tree/main/nonebot_plugin_marshoai/tools_wip/marshoai_memory/__init__.py#L1" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">async</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> def</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> write_memory</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(memory: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">str</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>\n<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> return</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> ''</span></span></code></pre></div></details>',4)]))}const c=i(o,[["render",n]]);export{_ as __pageData,c as default};
|