Update config.ts

This commit is contained in:
A-Cepheus 2024-03-05 14:25:00 +08:00 committed by GitHub
parent e3871fc0b4
commit 6d688551f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -49,12 +49,12 @@ export const DEFAULT_CONFIG = {
model: "gpt-3.5-turbo" as ModelType,
temperature: 0.5,
top_p: 1,
max_tokens: 4000,
max_tokens: 4096,
presence_penalty: 0,
frequency_penalty: 0,
sendMemory: true,
historyMessageCount: 4,
compressMessageLengthThreshold: 1000,
historyMessageCount: 64,
compressMessageLengthThreshold: 10000,
enableInjectSystemPrompts: true,
template: DEFAULT_INPUT_TEMPLATE,
},