feat: use real system prompt now (close #1079)

This commit is contained in:
JustSong
2024-03-10 14:32:30 +08:00
parent b33616df44
commit f05b403ca5
6 changed files with 11 additions and 42 deletions

View File

@@ -72,7 +72,7 @@ func chooseDB() (*gorm.DB, error) {
func InitDB() (err error) {
db, err := chooseDB()
if err == nil {
if config.DebugEnabled {
if config.DebugSQLEnabled {
db = db.Debug()
}
DB = db