Spaces:
Build error
Build error
Commit
·
44e73ac
1
Parent(s):
0ccc62e
google search implemented
Browse files- app/services/message.py +1 -1
app/services/message.py
CHANGED
@@ -140,7 +140,7 @@ async def generate_response_from_gemini(
|
|
140 |
pass # Placeholder for video processing logic
|
141 |
|
142 |
# Send the user's message
|
143 |
-
response = await chat.send_message_async(content, tools=google_search)
|
144 |
return response.text
|
145 |
|
146 |
except Exception as e:
|
|
|
140 |
pass # Placeholder for video processing logic
|
141 |
|
142 |
# Send the user's message
|
143 |
+
response = await chat.send_message_async(content, tools=[google_search])
|
144 |
return response.text
|
145 |
|
146 |
except Exception as e:
|