| 
														
															@@ -204,8 +204,9 @@ def run(): 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     usage_info, text = str(response.usage_metadata).replace('\n', ', '), response.text.strip() 
														 | 
														
														 | 
														
															     usage_info, text = str(response.usage_metadata).replace('\n', ', '), response.text.strip() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     logger.info(f'[+] 使用情况: {usage_info}') 
														 | 
														
														 | 
														
															     logger.info(f'[+] 使用情况: {usage_info}') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    cleaned_text = text.replace("```json", '').replace("```", '').strip() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    AliyunLogger.logging( str(redis_task['video_id']), redis_task['title'], redis_task['video_path'], mark, redis_task['type'], redis_task['partition'], str(cleaned_text)) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     logger.info(f'[+] 模型响应结果: {text}') 
														 | 
														
														 | 
														
															     logger.info(f'[+] 模型响应结果: {text}') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    AliyunLogger.logging( str( redis_task['video_id'] ), redis_task['title'], redis_task['video_path'], mark, redis_task['type'], redis_task['partition'], text ) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     genai.delete_file(google_file) 
														 | 
														
														 | 
														
															     genai.delete_file(google_file) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 |