Add extension example, replace input_hijack with chat_input_modifier (#3307)
This commit is contained in:
parent
08c622df2e
commit
ef8637e32d
10 changed files with 335 additions and 100 deletions
|
@ -175,7 +175,7 @@ def chatbot_wrapper(text, state, regenerate=False, _continue=False, loading_mess
|
|||
|
||||
# Preparing the input
|
||||
if not any((regenerate, _continue)):
|
||||
text, visible_text = apply_extensions('input_hijack', text, visible_text)
|
||||
text, visible_text = apply_extensions('chat_input', text, visible_text, state)
|
||||
if visible_text is None:
|
||||
visible_text = text
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue