refactor(wecom): remove max message length constraint from WeCom AIBot WS channel

This commit is contained in:
Zhang Rui 2026-03-19 15:14:21 +08:00
parent 8440fd1832
commit bc265b11a7

View file

@ -230,7 +230,6 @@ func newWeComAIBotWSChannel(
} }
base := channels.NewBaseChannel("wecom_aibot", cfg, messageBus, cfg.AllowFrom, base := channels.NewBaseChannel("wecom_aibot", cfg, messageBus, cfg.AllowFrom,
channels.WithMaxMessageLength(2048),
channels.WithReasoningChannelID(cfg.ReasoningChannelID), channels.WithReasoningChannelID(cfg.ReasoningChannelID),
) )