fixed glm panic

This commit is contained in:
Mazyar
2025-12-28 15:58:33 +03:30
parent f6bdcc6d7c
commit a95944d4c6
3 changed files with 35 additions and 13 deletions
+5
View File
@@ -39,6 +39,11 @@ func main() {
// Initialize GLM service
glmService := bootstrap.InitGLMService(config.GLM, appLogger)
if glmService != nil {
appLogger.Info("GLM service initialized successfully", map[string]interface{}{})
} else {
appLogger.Warn("GLM service not available, translation features will be disabled", map[string]interface{}{})
}
// Initialize scraper service
scraperService := bootstrap.InitScraperService(*config, appLogger)