mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-23 20:00:15 +01:00
refactor: code clean up
This commit is contained in:
parent
89e38d67f4
commit
7353829719
6 changed files with 71 additions and 118 deletions
|
|
@ -113,19 +113,13 @@ function OpenAIOptions() {
|
|||
<div className="px-4 py-4">
|
||||
<Settings
|
||||
model={model}
|
||||
setModel={setOption('model')}
|
||||
chatGptLabel={chatGptLabel}
|
||||
setChatGptLabel={setOption('chatGptLabel')}
|
||||
promptPrefix={promptPrefix}
|
||||
setPromptPrefix={setOption('promptPrefix')}
|
||||
temperature={temperature}
|
||||
setTemperature={setOption('temperature')}
|
||||
topP={top_p}
|
||||
setTopP={setOption('top_p')}
|
||||
freqP={presence_penalty}
|
||||
setFreqP={setOption('presence_penalty')}
|
||||
presP={frequency_penalty}
|
||||
setPresP={setOption('frequency_penalty')}
|
||||
setOption={setOption}
|
||||
/>
|
||||
</div>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue