mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-04-29 00:27:09 +08:00
fix: drop code excute
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
parent
d86492e3bc
commit
a1006f8dff
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user