Skip to content

Commit

Permalink
Fix update new " gemini-1.5-flash-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
xtsea authored Jun 23, 2024
1 parent 2e15d3e commit 03a5a32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions RyuzakiLib/hackertools/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,14 @@
import requests
from pymongo import MongoClient


class GeminiLatest:
def __init__(
self,
api_key: str = None,
mongo_url: str=None,
api_base="https://generativelanguage.googleapis.com",
version: str="v1beta",
model: str="models/gemini-pro",
model: str="models/gemini-1.5-flash-latest",
content: str="generateContent",
user_id: int=None
):
Expand Down

0 comments on commit 03a5a32

Please sign in to comment.