v1.5: Add login module and GPT selection feature
This commit is contained in:
+34
-1
@@ -1,6 +1,39 @@
|
||||
import { BuiltinMask } from "./typing";
|
||||
|
||||
export const CN_MASKS: BuiltinMask[] = [];
|
||||
export const CN_MASKS: BuiltinMask[] = [
|
||||
{
|
||||
avatar: "/avatar/chatgpt.png",
|
||||
name: "gpt3.5",
|
||||
context: [],
|
||||
modelConfig: {
|
||||
model: "gpt-3.5-turbo",
|
||||
temperature: 0.5,
|
||||
max_tokens: 2000,
|
||||
presence_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 64,
|
||||
compressMessageLengthThreshold: 2000,
|
||||
},
|
||||
lang: "cn",
|
||||
builtin: true,
|
||||
},
|
||||
{
|
||||
avatar: "/avatar/chatgpt4.png",
|
||||
name: "gpt4",
|
||||
context: [],
|
||||
modelConfig: {
|
||||
model: "gpt-4",
|
||||
temperature: 0.5,
|
||||
max_tokens: 2000,
|
||||
presence_penalty: 0,
|
||||
sendMemory: true,
|
||||
historyMessageCount: 32,
|
||||
compressMessageLengthThreshold: 500,
|
||||
},
|
||||
lang: "cn",
|
||||
builtin: true,
|
||||
},
|
||||
]
|
||||
|
||||
// export const CN_MASKS: BuiltinMask[] = [
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user