feat: 优化Gemini模型版本获取逻辑

This commit is contained in:
CalciumIon
2024-08-02 17:23:59 +08:00
parent 5c77023e91
commit fda2fd2e53
4 changed files with 35 additions and 26 deletions
+2
View File
@@ -55,6 +55,8 @@ func main() {
common.FatalLog("failed to initialize Redis: " + err.Error())
}
// Initialize constants
constant.InitEnv()
// Initialize options
model.InitOptionMap()
if common.RedisEnabled {