mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-13 20:53:45 +08:00
feat: #168
This commit is contained in:
@@ -208,7 +208,11 @@ export function ModelConfigList(props: {
|
||||
<ListItem title={Locale.Memory.Title} subTitle={Locale.Memory.Send}>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={props.modelConfig.sendMemory}
|
||||
disabled={!!process.env.NEXT_PUBLIC_DISABLE_SENDMEMORY}
|
||||
checked={
|
||||
!process.env.NEXT_PUBLIC_DISABLE_SENDMEMORY &&
|
||||
props.modelConfig.sendMemory
|
||||
}
|
||||
onChange={(e) =>
|
||||
props.updateConfig(
|
||||
(config) => (config.sendMemory = e.currentTarget.checked),
|
||||
|
||||
Reference in New Issue
Block a user