feat: sync AI compose and ChatBot features
This commit is contained in:
parent
35e5d38f4d
commit
b7269b135f
75 changed files with 5426 additions and 123 deletions
|
|
@ -83,6 +83,7 @@ func newBotCallbackEnv(t *testing.T, ctx context.Context) *botCallbackEnv {
|
|||
}
|
||||
router := rpc.New(rpc.Config{DC: dc, IP: tcpAddr.IP.String(), Port: tcpAddr.Port}, deps, zaptest.NewLogger(t), clock.System)
|
||||
botsService.SetRouterHooks(router)
|
||||
botsService.SetTextDraftPusher(router)
|
||||
srv := New(Options{Logger: zaptest.NewLogger(t), DC: dc, RSAKey: rsaKey, AuthKeys: authKeyStore, RPC: router, ActiveSessions: activeSessions})
|
||||
go func() { _ = srv.Serve(ctx, ln) }()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue