feat: exclude globalNote type from per-message prompt text storage

This commit is contained in:
poroyo
2025-05-20 01:03:35 +09:00
parent fbd25a3770
commit 8dc05ccace

View File

@@ -1205,7 +1205,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{
content: content
}
if(DBState.db.promptInfoInsideChat && DBState.db.promptTextInfoInsideChat){
if(DBState.db.promptInfoInsideChat && DBState.db.promptTextInfoInsideChat && card.type2 !== 'globalNote'){
pushPromptInfoBody(prompt.role, prompt.content, promptBodyformatedForChatStore)
}