Update chat API (fixes #3006)
This commit is contained in:
parent
333075e726
commit
70a4d5dbcf
3 changed files with 4 additions and 5 deletions
|
@ -65,6 +65,7 @@ def build_parameters(body, chat=False):
|
|||
'context_instruct': context_instruct,
|
||||
'turn_template': turn_template,
|
||||
'chat-instruct_command': str(body.get('chat-instruct_command', shared.settings['chat-instruct_command'])),
|
||||
'history': body.get('history', {'internal': [], 'visible': []})
|
||||
})
|
||||
|
||||
return generate_params
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue