We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0159bf6 commit 594a23bCopy full SHA for 594a23b
aimodels/gemini/config.py
@@ -55,7 +55,7 @@ async def _fetch_tool(self, db_conn) -> dict:
55
# Check if tool is code execution
56
if _Tool:
57
if "gemini-2.0-flash-thinking" in self._model_name:
58
- await self._discord_ctx_send("> ⚠️ The Gemini 2.0 Flash Thinking doesn't support tools, please switch to another Gemini model to use it.")
+ await self._discord_method_send("> ⚠️ The Gemini 2.0 Flash Thinking doesn't support tools, please switch to another Gemini model to use it.")
59
_tool_schema = None
60
else:
61
if _tool_selection_name == "code_execution":
aimodels/gemini/infer.py
@@ -10,7 +10,6 @@
10
import aiofiles
11
import asyncio
12
import discord
13
-import importlib
14
import io
15
import logging
16
import typing
0 commit comments