Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,9 +46,9 @@ class BasicAgent:
|
|
| 46 |
read_file,
|
| 47 |
transcribe_audio
|
| 48 |
]
|
| 49 |
-
self.google_llm = ChatGoogleGenerativeAI(model='gemini-2.
|
| 50 |
self.llm_with_tools = self.google_llm.bind_tools(self.tools)
|
| 51 |
-
self.graph = self.create_graph()
|
| 52 |
|
| 53 |
def __call__(self, task_id: str, question: str, file_name: str = None, local_file_name: str = None) -> str:
|
| 54 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
|
|
|
| 46 |
read_file,
|
| 47 |
transcribe_audio
|
| 48 |
]
|
| 49 |
+
self.google_llm = ChatGoogleGenerativeAI(model='gemini-2.5-flash')
|
| 50 |
self.llm_with_tools = self.google_llm.bind_tools(self.tools)
|
| 51 |
+
self.graph = self.create_graph()
|
| 52 |
|
| 53 |
def __call__(self, task_id: str, question: str, file_name: str = None, local_file_name: str = None) -> str:
|
| 54 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|