File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -532,6 +532,9 @@ def select_datasource(self):
532532 self .chat_question .terminologies = get_terminology_template (self .session , self .chat_question .question ,
533533 self .ds .oid if isinstance (self .ds ,
534534 CoreDatasource ) else 1 )
535+ self .chat_question .data_training = get_training_template (self .session , self .chat_question .question ,
536+ self .ds .id , self .ds .oid )
537+
535538 self .init_messages ()
536539
537540 if _error :
@@ -944,8 +947,8 @@ def run_task(self, in_chat: bool = True):
944947 self .chat_question .terminologies = get_terminology_template (self .session , self .chat_question .question ,
945948 self .ds .oid if isinstance (self .ds ,
946949 CoreDatasource ) else 1 )
947- self .chat_question .data_training = get_training_template (self .session , self .chat_question .question ,
948- self .ds .id , self .ds .oid )
950+ self .chat_question .data_training = get_training_template (self .session , self .chat_question .question ,
951+ self .ds .id , self .ds .oid )
949952
950953 self .init_messages ()
951954
You can’t perform that action at this time.
0 commit comments