From a1006f8dff47143e6a51870aeb3f88316da8bd01 Mon Sep 17 00:00:00 2001 From: yihong0618 Date: Fri, 2 Aug 2024 14:36:40 +0800 Subject: [PATCH] fix: drop code excute Signed-off-by: yihong0618 --- handlers/gemini.py | 1 - 1 file changed, 1 deletion(-) diff --git a/handlers/gemini.py b/handlers/gemini.py index a75f6a4..2d333e8 100644 --- a/handlers/gemini.py +++ b/handlers/gemini.py @@ -48,7 +48,6 @@ def make_new_gemini_convo(is_pro=False) -> ChatSession: model_name=model_name, generation_config=generation_config, safety_settings=safety_settings, - tools="code_execution", ) convo = model.start_chat() return convo