temperature default to 1
This commit is contained in:
@@ -158,7 +158,7 @@ class Chat {
|
||||
tokens_margin = 1024,
|
||||
apiEndPoint = "https://api.openai.com/v1/chat/completions",
|
||||
model = DefaultModel,
|
||||
temperature = 0.7,
|
||||
temperature = 1,
|
||||
enable_temperature = true,
|
||||
top_p = 1,
|
||||
enable_top_p = false,
|
||||
|
||||
@@ -62,7 +62,7 @@ export const newChatStore = (options: NewChatStoreOptions): ChatStore => {
|
||||
streamMode: getDefaultParams("mode", options.streamMode ?? true),
|
||||
model: getDefaultParams("model", options.model ?? DefaultModel),
|
||||
cost: 0,
|
||||
temperature: getDefaultParams("temp", options.temperature ?? 0.7),
|
||||
temperature: getDefaultParams("temp", options.temperature ?? 1),
|
||||
temperature_enabled: options.temperature_enabled ?? true,
|
||||
top_p: options.top_p ?? 1,
|
||||
top_p_enabled: options.top_p_enabled ?? false,
|
||||
|
||||
Reference in New Issue
Block a user