Skip to content

feat(feishu): default receive mode to websocket and wire bridge config#294

Open
xinuxZ wants to merge 3 commits intoRightNow-AI:mainfrom
xinuxZ:feat/feishu-websocket-receive-mode
Open

feat(feishu): default receive mode to websocket and wire bridge config#294
xinuxZ wants to merge 3 commits intoRightNow-AI:mainfrom
xinuxZ:feat/feishu-websocket-receive-mode

Conversation

@xinuxZ
Copy link

@xinuxZ xinuxZ commented Mar 4, 2026

Summary

This PR is an updated iteration based on the work from #188.

It improves the Feishu channel integration by making WebSocket mode the default receive mode and wiring the related config/bridge flow end-to-end.

What changed

  • Set Feishu default receive_mode to websocket
  • Wire WebSocket receive mode through config parsing and channel bridge startup path
  • Align adapter behavior with the selected receive mode
  • Keep existing receive-mode structure extensible for webhook fallback

Why

The previous implementation in #188 introduced WebSocket support.
This PR refines and extends that implementation so the default behavior is more predictable and the receive-mode wiring is consistent across config and runtime bridge paths.

Scope

  • openfang-types config updates for Feishu receive mode
  • openfang-api channel bridge / route wiring updates
  • related Feishu adapter integration updates

Verification

  • Built and verified compile path for related crates
  • Validated branch history is linear (merge noise removed)
  • Confirmed expected Feishu receive-mode behavior in code path

luodong.seu and others added 3 commits March 4, 2026 18:20
添加Feishu通道的WebSocket模式支持,允许通过长连接接收事件而无需公网IP
重构适配器代码,分离Webhook和WebSocket实现,优化错误处理和日志记录
egargale pushed a commit to egargale/openfang that referenced this pull request Mar 5, 2026
Fixes RightNow-AI#294 - Updates MiniMax model names from the old ABAB 6.5 series to
the current M2.5/M2.1 series.

- Updated wizard model selection for MiniMax provider
- Fixed DiscordConfig test cases to include new listen_to_bots field

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant