mod inspect;
#[cfg(any(
feature = "openai",
feature = "anthropic",
feature = "google",
feature = "google-vertex"
))]
mod legacy_content;
#[cfg(any(
feature = "openai",
feature = "anthropic",
feature = "google",
feature = "google-vertex"
))]
mod normalize;
pub mod pairs;
mod primitives;
mod serialize;
mod target_caps;
#[cfg(all(
test,
any(
feature = "openai",
feature = "anthropic",
feature = "google",
feature = "google-vertex"
)
))]
mod tests;
pub use inspect::inspect_chat_request_bridge;
pub use serialize::{bridge_chat_request_to_json, bridge_chat_request_to_json_with_options};
#[cfg(feature = "anthropic")]
pub use normalize::{
bridge_anthropic_messages_json_to_chat_request,
bridge_anthropic_messages_json_to_chat_request_with_options,
};
#[cfg(any(feature = "google", feature = "google-vertex"))]
pub use normalize::{
bridge_gemini_generate_content_json_to_chat_request,
bridge_gemini_generate_content_json_to_chat_request_with_options,
};
#[cfg(feature = "openai")]
pub use normalize::{
bridge_openai_chat_completions_json_to_chat_request,
bridge_openai_chat_completions_json_to_chat_request_with_options,
bridge_openai_responses_json_to_chat_request,
bridge_openai_responses_json_to_chat_request_with_options,
};
#[cfg(feature = "anthropic")]
pub use serialize::{
bridge_chat_request_to_anthropic_messages_json,
bridge_chat_request_to_anthropic_messages_json_with_options,
};
#[cfg(any(feature = "google", feature = "google-vertex"))]
pub use serialize::{
bridge_chat_request_to_gemini_generate_content_json,
bridge_chat_request_to_gemini_generate_content_json_with_options,
};
#[cfg(feature = "openai")]
pub use serialize::{
bridge_chat_request_to_openai_chat_completions_json,
bridge_chat_request_to_openai_chat_completions_json_with_options,
bridge_chat_request_to_openai_responses_json,
bridge_chat_request_to_openai_responses_json_with_options,
};