forked from open-webui/open-webui
Update +page.svelte
Added num_ctx variable
This commit is contained in:
parent
ea257636ee
commit
cd22f73337
1 changed files with 9 additions and 4 deletions
|
@ -125,7 +125,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:
|
||||||
|
@ -196,7 +197,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
|
||||||
|
@ -264,6 +266,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
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
@ -323,7 +326,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
|
||||||
|
@ -386,7 +390,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 a new issue