Skip to main content

Crate gateway_core

Crate gateway_core 

Source

Re-exports§

pub use anthropic::AnthropicAdapter;
pub use anthropic::NativeMessagesDecoder;
pub use anthropic::REASONING_DETAIL_FORMAT;
pub use anthropic::SignedThinking;
pub use anthropic::encrypted_reasoning_detail;
pub use anthropic::native_message_usage;
pub use anthropic::signed_thinking_from_details;
pub use anthropic::thinking_blocks_from_details;
pub use catalog::CatalogError;
pub use catalog::CatalogModel;
pub use catalog::ModelCatalog;
pub use catalog::ModelPrice;
pub use catalog::Usage;
pub use catalog::UsageReceipt;
pub use circuit::CircuitBreaker;
pub use circuit::CircuitDecision;
pub use circuit::CircuitState;
pub use error::DependencyFailure;
pub use error::ProviderError;
pub use error::is_rate_limit_payload;
pub use failover::FailoverDecision;
pub use failover::FailoverPolicy;
pub use failover::FailoverTarget;
pub use governance::Admission;
pub use governance::Governance;
pub use governance::GovernanceKey;
pub use governance::GovernanceLimits;
pub use guardrail::Guardrail;
pub use guardrail::GuardrailAction;
pub use guardrail::GuardrailPolicy;
pub use guardrail::GuardrailRequest;
pub use guardrail::GuardrailRule;
pub use guardrail::GuardrailVerdict;
pub use guardrail::RegexGuardrail;
pub use openai::OpenAiCompatibleAdapter;
pub use openai::OpenAiFlavor;
pub use openai::embeddings_usage;
pub use openai::normalize_foundry_endpoint;
pub use openai::responses_usage;
pub use provider::Capabilities;
pub use provider::ModelUsage;
pub use provider::ProviderAdapter;
pub use provider::ProviderRequest;
pub use provider::ProviderResponse;
pub use provider::ProviderStreamDecoder;
pub use provider::ProviderStreamEvent;
pub use provider::Surface;
pub use stream::SseDecoder;
pub use stream::SseEvent;
pub use stream::StreamParseError;
pub use tool_call::AssembledToolCall;
pub use tool_call::ToolCallAssembler;
pub use tool_call::ToolCallAssemblyError;
pub use tool_call::ToolCallFragment;

Modules§

anthropic
catalog
circuit
error
failover
governance
guardrail
openai
provider
stream
tool_call