Merge pull request #2 from A-Cepheus/dev

Change some default setting.
This commit is contained in:
A-Cepheus 2024-03-05 14:35:46 +08:00 committed by GitHub
commit 59cf719728
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
export const OWNER = "Yidadaa";
export const OWNER = "A-Cepheus";
export const REPO = "ChatGPT-Next-Web";
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;
@ -115,6 +115,7 @@ export const KnowledgeCutOffDate: Record<string, string> = {
// After improvements,
// it's now easier to add "KnowledgeCutOffDate" instead of stupid hardcoding it, as was done previously.
"gemini-pro": "2023-12",
"yi-34b": "2023-06",
};
export const DEFAULT_MODELS = [

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,
},