diff --git a/plugins.md b/plugins.md index 21995c92..ab5f0fe6 100644 --- a/plugins.md +++ b/plugins.md @@ -106,6 +106,7 @@ Adds a provider to the plugin. - `top_k?: number` - The top k value. - `top_p?: number` - The top p value. - `temperature?: number` - The temperature value. + - `max_tokens?: number` - The max tokens value. - `mode: string` - The mode. one of `model`, `submodel`, `memory`, `emotion`, `otherAx`, `translate` - `Promise<{success:boolean,content:string|ReadableStream}>` - The provider result. - `success: boolean` - If the provider was successful. diff --git a/src/ts/process/request.ts b/src/ts/process/request.ts index b3da8637..e039f7b1 100644 --- a/src/ts/process/request.ts +++ b/src/ts/process/request.ts @@ -1402,7 +1402,8 @@ async function requestPlugin(arg:RequestDataArgumentExtended):Promise