Skip to main content

systemprompt_api/services/gateway/protocol/
mod.rs

1pub mod canonical;
2pub mod canonical_response;
3pub mod inbound;
4pub mod outbound;
5
6pub use canonical::{
7    CanonicalContent, CanonicalMessage, CanonicalRequest, CanonicalTool, CanonicalToolChoice,
8    ImageSource, Role, ThinkingConfig,
9};
10pub use canonical_response::{
11    CanonicalEvent, CanonicalResponse, CanonicalStopReason, CanonicalUsage, ContentBlockKind,
12};
13pub use inbound::{InboundAdapter, InboundParseError, anthropic_messages, openai_responses};
14pub use outbound::{
15    OutboundAdapter, OutboundAdapterRegistration, OutboundCtx, OutboundOutcome,
16    anthropic as outbound_anthropic, openai_chat, openai_responses as outbound_openai_responses,
17};