opencrates 3.0.1

Enterprise-grade AI-powered Rust development companion with comprehensive automation, monitoring, and deployment capabilities
//! Shared types for LLM providers

#[derive(Debug, Clone)]
pub struct ModelProviderInfo {
    pub base_url: String,
    pub api_key: Option<String>,
    pub name: String,
    pub provider: String,
    pub max_tokens: u32,
    pub supports_streaming: bool,
    pub supports_functions: bool,
    pub context_window: usize,
}

#[derive(Debug, Clone)]
pub struct Prompt {
    pub instructions: Option<String>,
    pub input: Vec<crate::codex_vendored::ResponseItem>,
}