インターフェイス: AiConfig
定義: plugins/ai/src/config.ts:129
プロパティ
display
readonly display: AiDisplayConfig;
定義: plugins/ai/src/config.ts:160
応答の見せ方。
instructions
readonly instructions: string | null;
定義: plugins/ai/src/config.ts:142
既定のシステム指示。
limits
readonly limits: AiLimits;
定義: plugins/ai/src/config.ts:158
数量の上限。
maxOutputTokens
readonly maxOutputTokens: number | null;
定義: plugins/ai/src/config.ts:146
既定の最大出力トークン数。null ならプロバイダーの既定。
maxSteps
readonly maxSteps: number;
定義: plugins/ai/src/config.ts:148
ツール呼び出しを含めて何ステップまで回すか。
memory
readonly memory: AiMemoryConfig;
定義: plugins/ai/src/config.ts:154
会話履歴の扱い。
model
readonly model: AiModelInput | null;
定義: plugins/ai/src/config.ts:131
既定のモデル。未設定なら呼び出しごとに指定が要ります。
providerLoaders
readonly providerLoaders: Readonly<Record<string, AiProviderLoader>>;
定義: plugins/ai/src/config.ts:140
文字列のモデル指定を解決できるプロバイダーの一覧
(builtinProviders に providerLoaders を重ねたもの)。
providers
readonly providers: AiProviders;
定義: plugins/ai/src/config.ts:135
プロバイダーの接続設定。
registry
readonly registry: AiRegistry | null;
定義: plugins/ai/src/config.ts:133
自前のプロバイダーレジストリ。
stream
readonly stream: AiStreamConfig;
定義: plugins/ai/src/config.ts:156
Discord へのストリーミング表示。
temperature
readonly temperature: number | null;
定義: plugins/ai/src/config.ts:144
既定の温度。null ならプロバイダーの既定。
texts
readonly texts: AiTexts;
定義: plugins/ai/src/config.ts:162
ユーザーに見える文言。
timeout
readonly timeout: number | false;
定義: plugins/ai/src/config.ts:150
1回の生成を打ち切るまでのミリ秒。false で無制限。
tools
readonly tools: AiToolsConfig;
定義: plugins/ai/src/config.ts:152
ツール(ai/)の扱い。