Ufoptg commited on
Commit
5e39b07
·
verified ·
1 Parent(s): 77a1f19

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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: GeminiPro):
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