@@ -294,7 +294,6 @@ def open_work_flow(self, application):
294294 return chat_id
295295
296296 def open_simple (self , application ):
297- valid_model_params_setting (application .model_id , application .model_params_setting )
298297 application_id = self .data .get ('application_id' )
299298 dataset_id_list = [str (row .dataset_id ) for row in
300299 QuerySet (ApplicationDatasetMapping ).filter (
@@ -376,7 +375,6 @@ def open(self):
376375 model_id = self .data .get ('model_id' )
377376 dataset_id_list = self .data .get ('dataset_id_list' )
378377 dialogue_number = 3 if self .data .get ('multiple_rounds_dialogue' , False ) else 0
379- valid_model_params_setting (model_id , self .data .get ('model_params_setting' ))
380378 application = Application (id = None , dialogue_number = dialogue_number , model_id = model_id ,
381379 dataset_setting = self .data .get ('dataset_setting' ),
382380 model_setting = self .data .get ('model_setting' ),
@@ -397,7 +395,8 @@ class ChatRecordSerializerModel(serializers.ModelSerializer):
397395 class Meta :
398396 model = ChatRecord
399397 fields = ['id' , 'chat_id' , 'vote_status' , 'problem_text' , 'answer_text' ,
400- 'message_tokens' , 'answer_tokens' , 'const' , 'improve_paragraph_id_list' , 'run_time' , 'index' ,'answer_text_list' ,
398+ 'message_tokens' , 'answer_tokens' , 'const' , 'improve_paragraph_id_list' , 'run_time' , 'index' ,
399+ 'answer_text_list' ,
401400 'create_time' , 'update_time' ]
402401
403402
0 commit comments