diff --git a/apps/prompts.js b/apps/prompts.js index cd9c85b..52ee5bd 100644 --- a/apps/prompts.js +++ b/apps/prompts.js @@ -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) { diff --git a/client/CustomGoogleGeminiClient.js b/client/CustomGoogleGeminiClient.js index efe76bf..ff2b629 100644 --- a/client/CustomGoogleGeminiClient.js +++ b/client/CustomGoogleGeminiClient.js @@ -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