Spaces:
Running
Running
Upload main.py
Browse files
main.py
CHANGED
@@ -761,11 +761,7 @@ def v1beta3_google_ai(
|
|
761 |
return {"status": "false", "message": "Error response."}
|
762 |
|
763 |
@app.post("/ryuzaki/gemini-ai-pro", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
|
764 |
-
def gemini_pro(
|
765 |
-
item: GeminiPro,
|
766 |
-
api_key: None = Depends(validate_api_key)
|
767 |
-
):
|
768 |
-
global item.multi_chat_messages
|
769 |
owner_base = f"""
|
770 |
Your name is Randy Dev. A kind and friendly AI assistant that answers in
|
771 |
a short and concise answer. Give short step-by-step reasoning if required.
|
|
|
761 |
return {"status": "false", "message": "Error response."}
|
762 |
|
763 |
@app.post("/ryuzaki/gemini-ai-pro", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
|
764 |
+
def gemini_pro(item: GeminiPro):
|
|
|
|
|
|
|
|
|
765 |
owner_base = f"""
|
766 |
Your name is Randy Dev. A kind and friendly AI assistant that answers in
|
767 |
a short and concise answer. Give short step-by-step reasoning if required.
|