mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 04:03:42 +08:00
micro fixs, update database SQL file
This commit is contained in:
@@ -143,6 +143,7 @@ func (h *RealtimeHandler) VoiceChat(c *gin.Context) {
|
||||
err := h.DB.Session(&gorm.Session{}).Where("type", "realtime").Where("enabled", true).First(&apiKey).Error
|
||||
if err != nil {
|
||||
resp.ERROR(c, fmt.Sprintf("error with fetch OpenAI API KEY:%v", err))
|
||||
return
|
||||
}
|
||||
|
||||
var response utils.OpenAIResponse
|
||||
|
||||
Reference in New Issue
Block a user