fix: fix baidu system prompt (close #1079)

This commit is contained in:
JustSong
2024-03-13 22:56:54 +08:00
parent e99150bdb9
commit 79d0cd378a
8 changed files with 92 additions and 76 deletions

View File

@@ -1,10 +1,12 @@
package common
import "github.com/songquanpeng/one-api/common/helper"
import (
"github.com/songquanpeng/one-api/common/env"
)
var UsingSQLite = false
var UsingPostgreSQL = false
var UsingMySQL = false
var SQLitePath = "one-api.db"
var SQLiteBusyTimeout = helper.GetOrDefaultEnvInt("SQLITE_BUSY_TIMEOUT", 3000)
var SQLiteBusyTimeout = env.Int("SQLITE_BUSY_TIMEOUT", 3000)