diff --git a/app/components/model-config.tsx b/app/components/model-config.tsx
index 9603eea0..76866129 100644
--- a/app/components/model-config.tsx
+++ b/app/components/model-config.tsx
@@ -130,6 +130,22 @@ export function ModelConfigList(props: {
>
+
+
+ props.updateConfig(
+ (config) =>
+ (config.enableInjectSystemPrompts = e.currentTarget.checked),
+ )
+ }
+ >
+
+
()(
}),
{
name: StoreKey.Config,
- version: 3.5,
+ version: 3.6,
migrate(persistedState, version) {
const state = persistedState as ChatConfig;
@@ -165,6 +166,10 @@ export const useAppConfig = create()(
state.customModels = "claude,claude-100k";
}
+ if (version < 3.6) {
+ state.modelConfig.enableInjectSystemPrompts = true;
+ }
+
return state as any;
},
},