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