Allow for permanent hijacking
This commit is contained in:
parent
111b5d42e7
commit
67623a52b7
2 changed files with 12 additions and 8 deletions
|
@ -9,15 +9,16 @@ from modules.bot_picture import caption_image
|
|||
params = {
|
||||
}
|
||||
|
||||
# If 'state' is True, will hijack the next chatbot wrapper call
|
||||
# with a custom input text
|
||||
# If 'state' is 'temporary' or 'permanent', will hijack the next
|
||||
# chatbot wrapper call with a custom input text and optionally
|
||||
# custom output text
|
||||
input_hijack = {
|
||||
'state': False,
|
||||
'value': ["", ""]
|
||||
'state': 'off',
|
||||
'value': []
|
||||
}
|
||||
|
||||
prompt_hijack = {
|
||||
'state': False,
|
||||
'state': 'off',
|
||||
'value': ""
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue