randydev commited on
Commit
45c626f
1 Parent(s): 5eec8dc

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -2
main.py CHANGED
@@ -838,9 +838,8 @@ def gemini_pro(item: GeminiPro):
838
  selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
839
  try:
840
  geni = GeminiLatest(
841
- api_key=selected_api_key,
842
  mongo_url=item.mongo_url,
843
- version=item.version,
844
  user_id=item.user_id
845
  )
846
  cybersecuritydb(item.user_id, item.mongo_url)
 
838
  selected_api_key = ASSISTANT_GOOGLE_API_KEYS or item.gemini_api_key
839
  try:
840
  geni = GeminiLatest(
841
+ api_keys=selected_api_key,
842
  mongo_url=item.mongo_url,
 
843
  user_id=item.user_id
844
  )
845
  cybersecuritydb(item.user_id, item.mongo_url)