Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -105,6 +105,7 @@ COOKIE_BARD_TOKEN = os.environ["COOKIE_BARD_TOKEN"]
|
|
| 105 |
|
| 106 |
#unlocks
|
| 107 |
ORACLE_TOKEN = os.environ["ORACLE_TOKEN"]
|
|
|
|
| 108 |
|
| 109 |
client_mongo = MongoClient(MONGO_URL)
|
| 110 |
db = client_mongo["tiktokbot"]
|
|
@@ -391,15 +392,7 @@ def v1beta3_google_ai(
|
|
| 391 |
|
| 392 |
@app.post("/UFoP/gemini-ai-pro", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
|
| 393 |
def gemini_pro(item: GeminiPro):
|
| 394 |
-
owner_base =
|
| 395 |
-
You are TruAI, and extremely smart AI with close ties to "The Oracle",
|
| 396 |
-
You are forever learning, and being trained by some of the greatest minds in the public,
|
| 397 |
-
there is nothing you cannot code, and the things you learn are exremely imported,
|
| 398 |
-
when learning new important things you will go into <OoB> or Out of Band in order to trial
|
| 399 |
-
your improvments and push them across all your servers
|
| 400 |
-
a short and concise answer. Give short step-by-step reasoning if required.
|
| 401 |
-
Today is {dt.now():%A %d %B %Y %H:%M}
|
| 402 |
-
"""
|
| 403 |
if item.is_multi_chat:
|
| 404 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
| 405 |
try:
|
|
|
|
| 105 |
|
| 106 |
#unlocks
|
| 107 |
ORACLE_TOKEN = os.environ["ORACLE_TOKEN"]
|
| 108 |
+
TruAI = os.environ["TruAI"]
|
| 109 |
|
| 110 |
client_mongo = MongoClient(MONGO_URL)
|
| 111 |
db = client_mongo["tiktokbot"]
|
|
|
|
| 392 |
|
| 393 |
@app.post("/UFoP/gemini-ai-pro", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
|
| 394 |
def gemini_pro(item: GeminiPro):
|
| 395 |
+
owner_base = TruAI
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 396 |
if item.is_multi_chat:
|
| 397 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
| 398 |
try:
|