mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-17 16:44:01 +00:00
Update model-config.tsx
This commit is contained in:
@@ -223,7 +223,11 @@ export function ModelConfigList(props: {
|
||||
>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={props.modelConfig.updateTypes}
|
||||
disabled={!!process.env.NEXT_PUBLIC_ENABLE_BASE64}
|
||||
checked={
|
||||
!process.env.NEXT_PUBLIC_ENABLE_BASE64 &&
|
||||
props.modelConfig.updateTypes
|
||||
}
|
||||
onChange={(e) =>
|
||||
props.updateConfig(
|
||||
(config) =>
|
||||
|
Reference in New Issue
Block a user