mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-09 19:46:37 +08:00
稍微调低参数
This commit is contained in:
parent
f7c0c56005
commit
bc86ead3d4
@ -133,8 +133,8 @@ export const ModalConfigValidator = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const DEFAULT_CONFIG: ChatConfig = {
|
const DEFAULT_CONFIG: ChatConfig = {
|
||||||
historyMessageCount: 4,
|
historyMessageCount: 3,
|
||||||
compressMessageLengthThreshold: 1000,
|
compressMessageLengthThreshold: 800,
|
||||||
sendBotMessages: true as boolean,
|
sendBotMessages: true as boolean,
|
||||||
submitKey: SubmitKey.CtrlEnter as SubmitKey,
|
submitKey: SubmitKey.CtrlEnter as SubmitKey,
|
||||||
avatar: "1f603",
|
avatar: "1f603",
|
||||||
@ -148,8 +148,8 @@ const DEFAULT_CONFIG: ChatConfig = {
|
|||||||
|
|
||||||
modelConfig: {
|
modelConfig: {
|
||||||
model: "gpt-3.5-turbo",
|
model: "gpt-3.5-turbo",
|
||||||
temperature: 1,
|
temperature: 0.5,
|
||||||
max_tokens: 2000,
|
max_tokens: 1500,
|
||||||
presence_penalty: 0,
|
presence_penalty: 0,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user