mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Allow automatic extension of truncated summary
This commit is contained in:
@@ -333,6 +333,7 @@
|
||||
export const cleanSettingValue = (type:string, value: any) => {
|
||||
switch (type) {
|
||||
case 'number':
|
||||
case 'select-number':
|
||||
value = parseFloat(value)
|
||||
if (isNaN(value)) { value = null }
|
||||
return value
|
||||
|
||||
Reference in New Issue
Block a user