[feat] change default model
This commit is contained in:
@@ -22,7 +22,7 @@ export function setDatabase(data:Database){
|
||||
data.characters = []
|
||||
}
|
||||
if(checkNullish(data.apiType)){
|
||||
data.apiType = 'gpt35'
|
||||
data.apiType = 'gpt35_0301'
|
||||
}
|
||||
if(checkNullish(data.openAIKey)){
|
||||
data.openAIKey = ''
|
||||
@@ -52,7 +52,7 @@ export function setDatabase(data:Database){
|
||||
data.PresensePenalty = 70
|
||||
}
|
||||
if(checkNullish(data.aiModel)){
|
||||
data.aiModel = 'gpt35'
|
||||
data.aiModel = 'gpt35_0301'
|
||||
}
|
||||
if(checkNullish(data.jailbreakToggle)){
|
||||
data.jailbreakToggle = false
|
||||
@@ -130,7 +130,7 @@ export function setDatabase(data:Database){
|
||||
data.theme = ''
|
||||
}
|
||||
if(checkNullish(data.subModel)){
|
||||
data.subModel = 'gpt35'
|
||||
data.subModel = 'gpt35_0301'
|
||||
}
|
||||
if(checkNullish(data.timeOut)){
|
||||
data.timeOut = 120
|
||||
@@ -774,7 +774,7 @@ export const defaultOoba:OobaSettings = {
|
||||
|
||||
export const presetTemplate:botPreset = {
|
||||
name: "New Preset",
|
||||
apiType: "gpt35",
|
||||
apiType: "gpt35_0301",
|
||||
openAIKey: "",
|
||||
mainPrompt: defaultMainPrompt,
|
||||
jailbreak: defaultJailbreak,
|
||||
@@ -785,8 +785,8 @@ export const presetTemplate:botPreset = {
|
||||
frequencyPenalty: 70,
|
||||
PresensePenalty: 70,
|
||||
formatingOrder: ['main', 'description', 'personaPrompt','chats','lastChat', 'jailbreak', 'lorebook', 'globalNote', 'authorNote'],
|
||||
aiModel: "gpt35",
|
||||
subModel: "gpt35",
|
||||
aiModel: "gpt35_0301",
|
||||
subModel: "gpt35_0301",
|
||||
currentPluginProvider: "",
|
||||
textgenWebUIStreamURL: '',
|
||||
textgenWebUIBlockingURL: '',
|
||||
|
||||
Reference in New Issue
Block a user