mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-08 06:19:05 +08:00
refactor: Remove unused onMaxTokensChange function
This commit is contained in:
parent
ef633fca62
commit
6e16ef9cc6
@ -54,12 +54,6 @@ const AssistantModelSettings: FC<Props> = ({ assistant, updateAssistant, updateA
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const onMaxTokensChange = (value) => {
|
|
||||||
if (!isNaN(value as number)) {
|
|
||||||
updateAssistantSettings({ maxTokens: value })
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const onTopPChange = (value) => {
|
const onTopPChange = (value) => {
|
||||||
if (!isNaN(value as number)) {
|
if (!isNaN(value as number)) {
|
||||||
updateAssistantSettings({ topP: value })
|
updateAssistantSettings({ topP: value })
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user