Skip to content

Commit f370840

Browse files
authored
fix: The form node cannot be used (#3514)
1 parent c7d1ba6 commit f370840

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/chat/serializers/chat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ def chat_work_flow(self, chat_info: ChatInfo, instance: dict, base_to_response):
241241
WorkFlowPostHandler(chat_info),
242242
base_to_response, form_data, image_list, document_list, audio_list,
243243
other_list,
244-
self.data.get('runtime_node_id'),
245-
self.data.get('node_data'), chat_record, self.data.get('child_node'))
244+
instance.get('runtime_node_id'),
245+
instance.get('node_data'), chat_record, instance.get('child_node'))
246246
r = work_flow_manage.run()
247247
return r
248248

0 commit comments

Comments
 (0)