Add an option to include/exclude attachments from previous messages in the chat prompt

This commit is contained in:
oobabooga 2025-06-12 16:54:43 -07:00
parent b4d2a00e20
commit 2dee3a66ff
4 changed files with 8 additions and 4 deletions

View file

@ -273,7 +273,8 @@ def list_interface_input_elements():
# Other elements
elements += [
'paste_to_attachment'
'paste_to_attachment',
'include_past_attachments',
]
return elements
@ -497,7 +498,8 @@ def setup_auto_save():
# Session tab (ui_session.py)
'show_controls',
'theme_state',
'paste_to_attachment'
'paste_to_attachment',
'include_past_attachments'
]
for element_name in change_elements: