mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
Ensure the 'inputs' field in /chat-messages takes effect every time
This commit is contained in:
parent
7f67cb93ec
commit
3c05404007
|
@ -116,7 +116,7 @@ class ChatAppGenerator(MessageBasedAppGenerator):
|
|||
app_config=app_config,
|
||||
model_conf=ModelConfigConverter.convert(app_config),
|
||||
conversation_id=conversation.id if conversation else None,
|
||||
inputs=conversation.inputs if conversation else self._get_cleaned_inputs(inputs, app_config),
|
||||
inputs=self._get_cleaned_inputs(inputs, app_config),
|
||||
query=query,
|
||||
files=file_objs,
|
||||
user_id=user.id,
|
||||
|
|
Loading…
Reference in New Issue
Block a user