mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 13:40:55 +00:00
Update +page.svelte
This commit is contained in:
parent
cd22f73337
commit
d180943252
@ -160,7 +160,8 @@
|
|||||||
temperature: $settings.temperature ?? undefined,
|
temperature: $settings.temperature ?? undefined,
|
||||||
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
||||||
top_k: $settings.top_k ?? undefined,
|
top_k: $settings.top_k ?? undefined,
|
||||||
top_p: $settings.top_p ?? undefined
|
top_p: $settings.top_p ?? undefined,
|
||||||
|
num_ctx: $settings.num_ctx ?? undefined
|
||||||
},
|
},
|
||||||
format: $settings.requestFormat ?? undefined,
|
format: $settings.requestFormat ?? undefined,
|
||||||
context:
|
context:
|
||||||
@ -231,7 +232,8 @@
|
|||||||
temperature: $settings.temperature ?? undefined,
|
temperature: $settings.temperature ?? undefined,
|
||||||
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
||||||
top_k: $settings.top_k ?? undefined,
|
top_k: $settings.top_k ?? undefined,
|
||||||
top_p: $settings.top_p ?? undefined
|
top_p: $settings.top_p ?? undefined,
|
||||||
|
num_ctx: $settings.num_ctx ?? undefined
|
||||||
},
|
},
|
||||||
messages: messages,
|
messages: messages,
|
||||||
history: history
|
history: history
|
||||||
@ -299,6 +301,7 @@
|
|||||||
.map((message) => ({ role: message.role, content: message.content })),
|
.map((message) => ({ role: message.role, content: message.content })),
|
||||||
temperature: $settings.temperature ?? undefined,
|
temperature: $settings.temperature ?? undefined,
|
||||||
top_p: $settings.top_p ?? undefined,
|
top_p: $settings.top_p ?? undefined,
|
||||||
|
num_ctx: $settings.num_ctx ?? undefined,
|
||||||
frequency_penalty: $settings.repeat_penalty ?? undefined
|
frequency_penalty: $settings.repeat_penalty ?? undefined
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
@ -358,7 +361,8 @@
|
|||||||
temperature: $settings.temperature ?? undefined,
|
temperature: $settings.temperature ?? undefined,
|
||||||
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
||||||
top_k: $settings.top_k ?? undefined,
|
top_k: $settings.top_k ?? undefined,
|
||||||
top_p: $settings.top_p ?? undefined
|
top_p: $settings.top_p ?? undefined,
|
||||||
|
num_ctx: $settings.num_ctx ?? undefined
|
||||||
},
|
},
|
||||||
messages: messages,
|
messages: messages,
|
||||||
history: history
|
history: history
|
||||||
@ -419,7 +423,8 @@
|
|||||||
temperature: $settings.temperature ?? undefined,
|
temperature: $settings.temperature ?? undefined,
|
||||||
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
repeat_penalty: $settings.repeat_penalty ?? undefined,
|
||||||
top_k: $settings.top_k ?? undefined,
|
top_k: $settings.top_k ?? undefined,
|
||||||
top_p: $settings.top_p ?? undefined
|
top_p: $settings.top_p ?? undefined,
|
||||||
|
num_ctx: $settings.num_ctx ?? undefined
|
||||||
},
|
},
|
||||||
messages: messages,
|
messages: messages,
|
||||||
history: history
|
history: history
|
||||||
|
Loading…
Reference in New Issue
Block a user