pub struct ChannelRoutingConfig {
pub review: ReviewRouteConfig,
pub notify: Vec<NotifyRouteConfig>,
pub session: ChannelRouteConfig,
pub escalation: Option<EscalationRouteConfig>,
pub default_agent: Option<String>,
pub default_workflow: Option<String>,
pub strategy: Option<String>,
}Expand description
Top-level channel routing configuration.
Loaded from .ta/config.yaml:
channels:
review: { type: terminal } # single channel
review: # multi-channel (v0.10.0)
- { type: terminal }
- { type: webhook, endpoint: /tmp/review }
notify:
- { type: terminal }
- { type: slack, channel: "#reviews", level: warning }
session: { type: terminal }
escalation: { type: email, to: "mgr@co.com" }
strategy: first_response # or "quorum"Fields§
§review: ReviewRouteConfigChannel(s) for review interactions (draft approve/deny). Supports a single channel or array of channels (v0.10.0).
notify: Vec<NotifyRouteConfig>Channels for notifications (can be multiple).
session: ChannelRouteConfigChannel for interactive sessions.
escalation: Option<EscalationRouteConfig>Channel(s) for escalation (high-priority or supervisor review). Supports a single channel or array of channels (v0.10.0).
default_agent: Option<String>Default agent to assign when requests come in through a channel.
default_workflow: Option<String>Default workflow to use for channel-initiated goals.
strategy: Option<String>Multi-channel dispatch strategy (v0.10.0): “first_response” (default) or “quorum”.
Trait Implementations§
Source§impl Clone for ChannelRoutingConfig
impl Clone for ChannelRoutingConfig
Source§fn clone(&self) -> ChannelRoutingConfig
fn clone(&self) -> ChannelRoutingConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChannelRoutingConfig
impl Debug for ChannelRoutingConfig
Source§impl Default for ChannelRoutingConfig
impl Default for ChannelRoutingConfig
Source§fn default() -> ChannelRoutingConfig
fn default() -> ChannelRoutingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChannelRoutingConfig
impl<'de> Deserialize<'de> for ChannelRoutingConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChannelRoutingConfig
impl RefUnwindSafe for ChannelRoutingConfig
impl Send for ChannelRoutingConfig
impl Sync for ChannelRoutingConfig
impl Unpin for ChannelRoutingConfig
impl UnsafeUnpin for ChannelRoutingConfig
impl UnwindSafe for ChannelRoutingConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more