pub type ConvertToLlm = Arc<dyn Fn(Vec<AgentMessage>) -> BoxFuture<'static, Vec<Message>> + Send + Sync>;Expand description
(messages: AgentMessage[]) -> Message[] — the required
LLM-boundary converter. Filters/transforms custom messages into the
provider-facing Message union. Must not panic.
Aliased Type§
pub struct ConvertToLlm { /* private fields */ }