forked from open-webui/open-webui
fix: openai issue
This commit is contained in:
parent
f051b366e3
commit
7bc0c09b25
5 changed files with 108 additions and 21 deletions
|
@ -409,13 +409,13 @@
|
|||
}
|
||||
: { content: message.content })
|
||||
})),
|
||||
seed: $settings.options.seed ?? undefined,
|
||||
stop: $settings.options.stop ?? undefined,
|
||||
temperature: $settings.options.temperature ?? undefined,
|
||||
top_p: $settings.options.top_p ?? undefined,
|
||||
num_ctx: $settings.options.num_ctx ?? undefined,
|
||||
frequency_penalty: $settings.options.repeat_penalty ?? undefined,
|
||||
max_tokens: $settings.options.num_predict ?? undefined
|
||||
seed: $settings?.options?.seed ?? undefined,
|
||||
stop: $settings?.options?.stop ?? undefined,
|
||||
temperature: $settings?.options?.temperature ?? undefined,
|
||||
top_p: $settings?.options?.top_p ?? undefined,
|
||||
num_ctx: $settings?.options?.num_ctx ?? undefined,
|
||||
frequency_penalty: $settings?.options?.repeat_penalty ?? undefined,
|
||||
max_tokens: $settings?.options?.num_predict ?? undefined
|
||||
})
|
||||
}
|
||||
).catch((err) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue