fix(k3s): restore working gemini-flash mapping with API_KEY auth
This commit is contained in:
parent
725acba642
commit
0c826f4efe
1 changed files with 8 additions and 1 deletions
|
|
@ -254,6 +254,13 @@ data:
|
||||||
"model": "deepseek/deepseek-chat",
|
"model": "deepseek/deepseek-chat",
|
||||||
"api_base": "https://api.deepseek.com/v1"
|
"api_base": "https://api.deepseek.com/v1"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"model_name": "gemini-flash",
|
||||||
|
"model": "openai/gemini-3-flash-preview",
|
||||||
|
"api_base": "https://generativelanguage.googleapis.com/v1beta/openai/",
|
||||||
|
"api_key": "env://GOOGLE_API_KEY",
|
||||||
|
"request_timeout": 300
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"model_name": "gemini-2.0-flash",
|
"model_name": "gemini-2.0-flash",
|
||||||
"model": "gemini/gemini-2.0-flash-exp",
|
"model": "gemini/gemini-2.0-flash-exp",
|
||||||
|
|
@ -323,7 +330,7 @@ data:
|
||||||
"api_base": "https://api.shengsuanyun.com/v1"
|
"api_base": "https://api.shengsuanyun.com/v1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"model_name": "gemini-flash",
|
"model_name": "gemini-flash-oauth",
|
||||||
"model": "antigravity/gemini-3-flash",
|
"model": "antigravity/gemini-3-flash",
|
||||||
"auth_method": "oauth"
|
"auth_method": "oauth"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue