causa-provider 0.0.4

Causa — a minimal context kernel for Rust agents (facts, ports, adapters)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! HTTP gateways share preparation; protocol state machines stay transport-free.

mod config;
mod gateway;
mod stream;

pub use config::{
    AnthropicGatewayConfig, KernelGatewayConfig, OpenAiChatGatewayConfig,
    OpenAiResponsesGatewayConfig,
};
pub use gateway::KernelHttpGateway;

/// Anthropic Messages adapter for the kernel's model gateway port.
pub type AnthropicMessagesGateway = KernelHttpGateway<AnthropicGatewayConfig>;
/// OpenAI Chat Completions adapter for the kernel's model gateway port.
pub type OpenAiChatCompletionsGateway = KernelHttpGateway<OpenAiChatGatewayConfig>;
/// OpenAI Responses adapter for the kernel's model gateway port.
pub type OpenAiResponsesGateway = KernelHttpGateway<OpenAiResponsesGatewayConfig>;