Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -771,7 +771,7 @@ def gemini_pro(item: GeminiPro):
|
|
771 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
772 |
try:
|
773 |
gt = GeminiLatest(api_key=selected_api_key, mongo_url=item.mongo_url, user_id=item.user_id)
|
774 |
-
answer, gemini_chat = gt.
|
775 |
return SuccessResponse(
|
776 |
status="True",
|
777 |
randydev={
|
|
|
771 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
772 |
try:
|
773 |
gt = GeminiLatest(api_key=selected_api_key, mongo_url=item.mongo_url, user_id=item.user_id)
|
774 |
+
answer, gemini_chat = gt._GeminiLatest__get_response_gemini(item.query)
|
775 |
return SuccessResponse(
|
776 |
status="True",
|
777 |
randydev={
|