MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / NewChatServer

Function NewChatServer

internal/api/chat/server.go:21–37  ·  view source on GitHub ↗
(
	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
21func 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}

Callers 1

InitializeAppFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected