mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 16:56:43 +08:00 
			
		
		
		
	@ -48,7 +48,6 @@ def make_new_gemini_convo(is_pro=False) -> ChatSession:
 | 
				
			|||||||
        model_name=model_name,
 | 
					        model_name=model_name,
 | 
				
			||||||
        generation_config=generation_config,
 | 
					        generation_config=generation_config,
 | 
				
			||||||
        safety_settings=safety_settings,
 | 
					        safety_settings=safety_settings,
 | 
				
			||||||
        tools="code_execution",
 | 
					 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
    convo = model.start_chat()
 | 
					    convo = model.start_chat()
 | 
				
			||||||
    return convo
 | 
					    return convo
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user