Function
NewChatServer
(
aiClientV1 *aiclient.AIClient,
chatService *services.ChatService,
projectService *services.ProjectService,
userService *services.UserService,
logger *logger.Logger,
cfg *cfg.Cfg,
)
Source from the content-addressed store, hash-verified
| 19 | } |
| 20 | |
| 21 | func NewChatServer( |
| 22 | aiClientV1 *aiclient.AIClient, |
| 23 | chatService *services.ChatService, |
| 24 | projectService *services.ProjectService, |
| 25 | userService *services.UserService, |
| 26 | logger *logger.Logger, |
| 27 | cfg *cfg.Cfg, |
| 28 | ) chatv1.ChatServiceServer { |
| 29 | return &ChatServerV1{ |
| 30 | aiClientV1: aiClientV1, |
| 31 | projectService: projectService, |
| 32 | userService: userService, |
| 33 | logger: logger, |
| 34 | chatServiceV1: chatService, |
| 35 | cfg: cfg, |
| 36 | } |
| 37 | } |
Tested by
no test coverage detected