diff --git a/app/components/chat.tsx b/app/components/chat.tsx
index d736d18d..80c6655d 100644
--- a/app/components/chat.tsx
+++ b/app/components/chat.tsx
@@ -121,9 +121,13 @@ export function SessionConfigModel(props: { onClose: () => void }) {
icon={}
bordered
text={Locale.Chat.Config.Reset}
- onClick={() =>
- confirm(Locale.Memory.ResetConfirm) && chatStore.resetSession()
- }
+ onClick={() => {
+ if (confirm(Locale.Memory.ResetConfirm)) {
+ chatStore.updateCurrentSession(
+ (session) => (session.memoryPrompt = ""),
+ );
+ }
+ }}
/>,