mirror of https://github.com/Mai-with-u/MaiBot.git
修复默认API地址
parent
978c627d7d
commit
9ad5ebb209
|
|
@ -23,7 +23,7 @@ retry_interval = 10
|
|||
|
||||
[[api_providers]] # 特殊:Google的Gimini使用特殊API,与OpenAI格式不兼容,需要配置client为"gemini"
|
||||
name = "Google"
|
||||
base_url = "https://api.google.com/v1"
|
||||
base_url = "https://generativelanguage.googleapis.com/v1beta"
|
||||
api_key = "your-google-api-key-1"
|
||||
client_type = "gemini"
|
||||
max_retry = 2
|
||||
|
|
|
|||
Loading…
Reference in New Issue