mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-19 18:14:45 +00:00
Update model-config.tsx
This commit is contained in:
@@ -223,7 +223,11 @@ export function ModelConfigList(props: {
|
|||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
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) =>
|
onChange={(e) =>
|
||||||
props.updateConfig(
|
props.updateConfig(
|
||||||
(config) =>
|
(config) =>
|
||||||
|
Reference in New Issue
Block a user