Update langgraph_agent.py
Browse files- langgraph_agent.py +2 -2
langgraph_agent.py
CHANGED
@@ -189,7 +189,7 @@ tools = [
|
|
189 |
read_file_content,
|
190 |
python_interpreter,
|
191 |
describe_image,
|
192 |
-
transcribe_audio,
|
193 |
]
|
194 |
|
195 |
|
@@ -202,7 +202,7 @@ def build_graph(provider: str = "gemini"):
|
|
202 |
"""Build the LangGraph agent with chosen LLM (default: Gemini)."""
|
203 |
if provider == "gemini":
|
204 |
llm = ChatGoogleGenerativeAI(
|
205 |
-
model= "gemini-
|
206 |
temperature=1.0,
|
207 |
max_retries=2,
|
208 |
api_key=GEMINI_API_KEY,
|
|
|
189 |
read_file_content,
|
190 |
python_interpreter,
|
191 |
describe_image,
|
192 |
+
transcribe_audio,
|
193 |
]
|
194 |
|
195 |
|
|
|
202 |
"""Build the LangGraph agent with chosen LLM (default: Gemini)."""
|
203 |
if provider == "gemini":
|
204 |
llm = ChatGoogleGenerativeAI(
|
205 |
+
model= "gemini-2.5-pro-preview-05-06", # Reverted model to gemini-2.5-pro-preview-05-06
|
206 |
temperature=1.0,
|
207 |
max_retries=2,
|
208 |
api_key=GEMINI_API_KEY,
|