feat: exclude globalNote type from per-message prompt text storage
This commit is contained in:
@@ -1205,7 +1205,7 @@ export async function sendChat(chatProcessIndex = -1,arg:{
|
|||||||
content: content
|
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)
|
pushPromptInfoBody(prompt.role, prompt.content, promptBodyformatedForChatStore)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user