Skip to content

Commit

Permalink
change gemini 1.0 pro to gemini 1.5 flash
Browse files Browse the repository at this point in the history
  • Loading branch information
bruceunx committed Jun 13, 2024
1 parent 68703f8 commit 14d858e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpt_server/routers/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ async def get_content(data, url):
@router.post("/chat", status_code=200)
@check_limit
async def chat(request: Request, prompt: Prompt):
return handle_request(prompt, "models/gemini-1.0-pro", API_URL)
return handle_request(prompt, "models/gemini-1.5-flash", API_URL)


async def chat_pro(request: Request, prompt: Prompt):
return handle_request(prompt, "models/gemini-1.5-pro-latest", API_URL_PRO)
return handle_request(prompt, "models/gemini-1.5-pro", API_URL_PRO)

0 comments on commit 14d858e

Please sign in to comment.