defect-llm 0.1.0-alpha.6

LLM provider implementations (Anthropic, Bedrock, OpenAI, DeepSeek) for the defect agent.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Protocol layer: bidirectional conversion between wire JSON and [`defect_core::llm`]
//! internal representations.
//!
//! This layer handles only encoding/decoding; it does not include transport, auth, or URL
//! templates. Each submodule corresponds to a [`defect_core::llm::ProtocolId`].

// anthropic_messages is shared by anthropic and bedrock (bedrock uses the Anthropic
// Messages shape).
#[cfg(any(feature = "provider-anthropic", feature = "provider-bedrock"))]
pub mod anthropic_messages;
// deepseek_chat is used only by deepseek and depends on openai_chat.
#[cfg(feature = "provider-deepseek")]
pub mod deepseek_chat;
// openai_chat is shared by openai and deepseek.
#[cfg(any(feature = "provider-openai", feature = "provider-deepseek"))]
pub mod openai_chat;