nonebot-plugin-marshoai/assets/en_dev_api_config.md.DeZ7DeZC.js

2 lines
26 KiB
JavaScript
Raw Normal View History

import{_ as s,c as t,o as i,ae as e}from"./chunks/framework.AELpvxz7.js";const c=JSON.parse('{"title":"config","description":"","frontmatter":{"title":"config","order":100},"headers":[],"relativePath":"en/dev/api/config.md","filePath":"en/dev/api/config.md","lastUpdated":1738311067000}'),o={name:"en/dev/api/config.md"};function r(n,a,l,h,d,m){return i(),t("div",null,a[0]||(a[0]=[e('<h1 id="module-nonebot-plugin-marshoai-config" tabindex="-1"><strong>Module</strong> <code>nonebot_plugin_marshoai.config</code> <a class="header-anchor" href="#module-nonebot-plugin-marshoai-config" aria-label="Permalink to &quot;**Module** `nonebot_plugin_marshoai.config`&quot;"></a></h1><h3 id="class-configmodel-basemodel" tabindex="-1"><em><strong>class</strong></em> <code>ConfigModel(BaseModel)</code> <a class="header-anchor" href="#class-configmodel-basemodel" aria-label="Permalink to &quot;***class*** `ConfigModel(BaseModel)`&quot;"></a></h3><h4 id="attr-marshoai-use-yaml-config-bool-false" tabindex="-1"><em><strong>attr</strong></em> <code>marshoai_use_yaml_config: bool = False</code> <a class="header-anchor" href="#attr-marshoai-use-yaml-config-bool-false" aria-label="Permalink to &quot;***attr*** `marshoai_use_yaml_config: bool = False`&quot;"></a></h4><h4 id="attr-marshoai-token-str" tabindex="-1"><em><strong>attr</strong></em> <code>marshoai_token: str = &#39;&#39;</code> <a class="header-anchor" href="#attr-marshoai-token-str" aria-label="Permalink to &quot;***attr*** `marshoai_token: str = &#39;&#39;`&quot;"></a></h4><h4 id="attr-marshoai-default-name-str-marsho" tabindex="-1"><em><strong>attr</strong></em> <code>marshoai_default_name: str = &#39;marsho&#39;</code> <a class="header-anchor" href="#attr-marshoai-default-name-str-marsho" aria-label="Permalink to &quot;***attr*** `marshoai_default_name: str = &#39;marsho&#39;`&quot;"></a></h4><h4 id="attr-marshoai-at-bool-false" tabindex="-1"><em><strong>attr</strong></em> <code>marshoai_at: bool = False</code> <a class="header-anchor" href="#attr-marshoai-at-bool-false" aria-label="Permalink to &quot;***attr*** `marshoai_at: bool = False`&quot;"></a></h4><h4 id="attr-marshoai-aliases-list-str-" tabindex="-1"><em><strong>attr</strong></em> <code>marshoai_aliases: list[str] = [&#39;&#39;]</code> <a class="header-anchor" href="#attr-marshoai-aliases-list-str-" aria-label="Permalink to &quot;***attr*** `marshoai_aliases: list[str] = [&#39;&#39;]`&quot;"></a></h4><h4 id="attr-marshoai-main-colour-str-feaba9" tabindex="-1"><em><strong>attr</strong></em> <code>marshoai_main_colour: str = &#39;FEABA9&#39;</code> <a class="header-anchor" href="#attr-marshoai-main-colour-str-feaba9" aria-label="Permalink to &quot;***attr*** `marshoai_main_colour: str = &#39;FEABA9&#39;`&quot;"></a></h4><h4 id="attr-marshoai-default-model-str-gpt-4o-mini" tabindex="-1"><em><strong>attr</strong></em> <code>marshoai_default_model: str = &#39;gpt-4o-mini&#39;</code> <a class="header-anchor" href="#attr-marshoai-default-model-str-gpt-4o-mini" aria-label="Permalink to &quot;***attr*** `marshoai_default_model: str = &#39;gpt-4o-mini&#39;`&quot;"></a></h4><h4 id="attr-marshoai-prompt-str--96------marsho-------------------