fix: 设定列表太长发不出来的问题

This commit is contained in:
ikechan8370 2025-02-17 23:46:44 +08:00
parent a97f01b9d3
commit b9ed12adb7
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ export class help extends plugin {
prompts.push(...[defaultPrompt, defaultSydneyPrompt])
prompts.push(...readPrompts())
console.log(prompts)
e.reply(await makeForwardMsg(e, prompts.map(p => `${p.name}\n${limitString(p.content, 500)}`), '设定列表'))
e.reply(await makeForwardMsg(e, prompts.map(p => `${p.name}\n${limitString(p.content, 100)}`), '设定列表'))
}
async detailPrompt (e) {

View file

@ -200,7 +200,7 @@ export class CustomGoogleGeminiClient extends GoogleGeminiClient {
}
],
generationConfig: {
maxOutputTokens: opt.maxOutputTokens || 1000,
maxOutputTokens: opt.maxOutputTokens || 4096,
temperature: opt.temperature || 0.9,
topP: opt.topP || 0.95,
topK: opt.tokK || 16