- Removed internal history management from AgentLoop. - Updated process method to accept conversation history as a parameter. - Adjusted continue_with_tool_results to work with external history. - Added OutboundDispatcher for handling outbound messages from MessageBus. - Introduced InboundMessage and OutboundMessage structs for message handling. - Updated Channel trait to include message handling and publishing to MessageBus. - Refactored Session to manage chat histories instead of AgentLoop instances. - Enhanced GatewayState to start message processing loops for inbound and outbound messages.
8 lines
151 B
Rust
8 lines
151 B
Rust
pub mod base;
|
|
pub mod feishu;
|
|
pub mod manager;
|
|
|
|
pub use base::{Channel, ChannelError};
|
|
pub use manager::ChannelManager;
|
|
pub use feishu::FeishuChannel;
|