Revert "Feat/speech support (#392)" (#393)

This reverts commit c9dcfe287f.
This commit is contained in:
Acbox
2026-04-22 00:11:16 +08:00
committed by GitHub
parent c9dcfe287f
commit fd8f1ec078
70 changed files with 1689 additions and 6609 deletions
+8 -8
View File
@@ -8,7 +8,6 @@ import (
"github.com/memohai/memoh/internal/accounts"
"github.com/memohai/memoh/internal/acl"
audiopkg "github.com/memohai/memoh/internal/audio"
"github.com/memohai/memoh/internal/bind"
"github.com/memohai/memoh/internal/boot"
"github.com/memohai/memoh/internal/bots"
@@ -30,6 +29,7 @@ import (
"github.com/memohai/memoh/internal/schedule"
"github.com/memohai/memoh/internal/searchproviders"
"github.com/memohai/memoh/internal/settings"
ttspkg "github.com/memohai/memoh/internal/tts"
)
func runServe() {
@@ -63,9 +63,9 @@ func options() fx.Option {
identities.NewService,
bind.NewService,
event.NewHub,
provideAudioRegistry,
audiopkg.NewService,
provideAudioTempStore,
provideTtsRegistry,
ttspkg.NewService,
provideTtsTempStore,
emailpkg.NewDBOAuthTokenStore,
provideEmailRegistry,
emailpkg.NewService,
@@ -121,8 +121,8 @@ func options() fx.Option {
provideServerHandler(weixin.NewQRServerHandler),
provideServerHandler(provideUsersHandler),
provideServerHandler(handlers.NewMemoryProvidersHandler),
provideServerHandler(handlers.NewAudioHandler),
provideServerHandler(handlers.NewBotAudioHandler),
provideServerHandler(handlers.NewSpeechHandler),
provideServerHandler(handlers.NewBotTtsHandler),
provideServerHandler(handlers.NewEmailProvidersHandler),
provideServerHandler(handlers.NewEmailBindingsHandler),
provideServerHandler(handlers.NewEmailOutboxHandler),
@@ -141,7 +141,7 @@ func options() fx.Option {
fx.Invoke(
injectToolProviders,
startRegistrySync,
startAudioProviderBootstrap,
startSpeechProviderBootstrap,
startMemoryProviderBootstrap,
startSearchProviderBootstrap,
startScheduleService,
@@ -151,7 +151,7 @@ func options() fx.Option {
startEmailManager,
startContainerReconciliation,
startBackgroundTaskCleanup,
startAudioTempStoreCleanup,
startTtsTempStoreCleanup,
startServer,
),
fx.WithLogger(func(logger *slog.Logger) fxevent.Logger {