songquanpeng / one-api

OpenAI 接口管理 & 分发系统,支持 Azure、Anthropic Claude、Google PaLM 2 & Gemini、智谱 ChatGLM、百度文心一言、讯飞星火认知、阿里通义千问、360 智脑以及腾讯混元,可用于二次分发管理 key,仅单可执行文件,已打包好 Docker 镜像,一键部署,开箱即用. OpenAI key management & redistribution system, using a single API for all LLMs, and features an English UI.
https://openai.justsong.cn/
MIT License
17.48k stars 3.98k forks source link

Feature Support Original Model Name and Alias for gemini #1064

Open H0llyW00dzZ opened 5 months ago

H0llyW00dzZ commented 5 months ago

Currently, only alias names are supported for Gemini models. It would be beneficial to implement support for both original model names and aliases. For example:

H0llyW00dzZ commented 5 months ago

[!NOTE]
gemini-1.0-pro is original name instead of gemini-pro is alias

songquanpeng commented 5 months ago

I have added those models, btw you can use the custom model feature to add those aliases.

H0llyW00dzZ commented 5 months ago

I have added those models, btw you can use the custom model feature to add those aliases.

@songquanpeng gemini-1.0-pro-vision-001 should be used gemini-1.0-pro-vision-latest

image

H0llyW00dzZ commented 5 months ago

list model: gemini-1.0-pro gemini-1.0-pro-001 gemini-1.0-pro-vision-latest

[!NOTE]
gemini-1.0-pro-001 is different

image