Add max_tokens parameter to plugin documentation and request function

This commit is contained in:
Kwaroran
2024-12-25 00:31:28 +09:00
parent 7d9649b87e
commit 8b6fc5bc8b
2 changed files with 3 additions and 1 deletions

View File

@@ -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<string>}>` - The provider result.
- `success: boolean` - If the provider was successful.