mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-05 06:35:15 +00:00
Add an option to include/exclude attachments from previous messages in the chat prompt
This commit is contained in:
parent
b4d2a00e20
commit
2dee3a66ff
4 changed files with 8 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue