Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -317,7 +317,7 @@ def sibyl_system(
|
|
317 |
return {"status": "false", "message": "Not Found User"}
|
318 |
|
319 |
@app.post("/UFoP/gemini-the-oracle", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
|
320 |
-
async def gemini_oracle(item:
|
321 |
if item.is_multi_chat:
|
322 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
323 |
oracle_base = ORACLE_TOKEN or item.oracle_base
|
|
|
317 |
return {"status": "false", "message": "Not Found User"}
|
318 |
|
319 |
@app.post("/UFoP/gemini-the-oracle", response_model=SuccessResponse, responses={422: {"model": ErrorStatus}})
|
320 |
+
async def gemini_oracle(item: GeminiOracle):
|
321 |
if item.is_multi_chat:
|
322 |
selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
|
323 |
oracle_base = ORACLE_TOKEN or item.oracle_base
|