fix: reduce article maxTokens 4000→3000 to avoid 400 on aiprimetech

This commit is contained in:
Nik (Claude)
2026-06-16 22:08:44 +03:00
parent e5965e2804
commit 0a842476d7
+2 -2
View File
@@ -250,7 +250,7 @@ async function generateArticle(channel, opts = {}) {
config.ai.models.article,
systemPrompt,
userPrompt,
{ maxTokens: 4000, temperature: 0.85 }
{ maxTokens: 3000, temperature: 0.85 }
);
if (!useEditPass) {
@@ -277,7 +277,7 @@ async function generateArticle(channel, opts = {}) {
config.ai.models.article,
editorPrompt,
`Вот черновик для редактуры:\n\n${draft.text}`,
{ maxTokens: 4000, temperature: 0.75 }
{ maxTokens: 3000, temperature: 0.75 }
);
return {