|
@@ -127,7 +127,9 @@ class AdvancedChatAppGenerator(MessageBasedAppGenerator):
|
|
|
conversation_id=conversation.id if conversation else None,
|
|
|
inputs=conversation.inputs
|
|
|
if conversation
|
|
|
- else self._prepare_user_inputs(user_inputs=inputs, variables=app_config.variables, tenant_id=app_model.id),
|
|
|
+ else self._prepare_user_inputs(
|
|
|
+ user_inputs=inputs, variables=app_config.variables, tenant_id=app_model.tenant_id
|
|
|
+ ),
|
|
|
query=query,
|
|
|
files=file_objs,
|
|
|
parent_message_id=args.get("parent_message_id") if invoke_from != InvokeFrom.SERVICE_API else UUID_NIL,
|