fix(model): ModelMgr do not init

This commit is contained in:
fanlv
2025-07-25 13:43:09 +08:00
parent 2e2018af7a
commit e8686379b2
3 changed files with 6 additions and 2 deletions

View File

@@ -27,6 +27,7 @@ import (
search "github.com/coze-dev/coze-studio/backend/domain/search/service"
user "github.com/coze-dev/coze-studio/backend/domain/user/service"
"github.com/coze-dev/coze-studio/backend/infra/contract/idgen"
"github.com/coze-dev/coze-studio/backend/infra/contract/modelmgr"
"github.com/coze-dev/coze-studio/backend/infra/contract/storage"
)
@@ -37,6 +38,7 @@ type ServiceComponents struct {
CacheCli *redisV9.Client
ProjectEventBus search.ProjectEventBus
ModelMgr modelmgr.Manager
UserSVC user.User
ConnectorSVC connector.Connector
VariablesSVC variables.Variables
@@ -62,6 +64,7 @@ func InitService(components *ServiceComponents) (*APPApplicationService, error)
APPApplicationSVC.oss = components.OSS
APPApplicationSVC.projectEventBus = components.ProjectEventBus
APPApplicationSVC.modelMgr = components.ModelMgr
APPApplicationSVC.userSVC = components.UserSVC
APPApplicationSVC.connectorSVC = components.ConnectorSVC