Revert "feat: 同步OpenAI更新,更新0613模型及3.5 16K模型 及 修复stream模式引入的两个bug" (#256)

This commit is contained in:
二丫讲梵
2023-06-21 16:57:20 +08:00
committed by GitHub
parent b903c76154
commit 49dd08fb81
11 changed files with 122 additions and 142 deletions

View File

@@ -27,7 +27,7 @@ func InitSvc() {
// 初始化数据库
db.InitDB()
// 暂时不在初始化时获取余额
if Config.Model == openai.GPT3Dot5Turbo0613 || Config.Model == openai.GPT3Dot5Turbo0301 || Config.Model == openai.GPT3Dot5Turbo {
if Config.Model == openai.GPT3Dot5Turbo0301 || Config.Model == openai.GPT3Dot5Turbo {
_, _ = GetBalance()
}
}