fix: increase max length for user profile summary and sanitize function
Deploy to VPS / deploy (push) Successful in 2m19s

This commit is contained in:
asepharyana
2026-07-26 17:27:51 +07:00
parent b886b71bad
commit eca0a378f9
3 changed files with 4 additions and 4 deletions
@@ -113,7 +113,7 @@ atau konten SARA, itu akan SANGAT tidak sesuai dengan karakternya dan patut dicu
try {
const completion = await llmChat({
messages: [{ role: "user", content: prompt }],
max_tokens: 500,
max_tokens: 2000,
temperature: 0.7, // Higher temp for summarization
retries: 2,
});