pub struct ReviewerConfig {
pub name: String,
pub model: String,
pub provider: ProviderType,
pub base_url: Option<String>,
pub api_key_env: Option<String>,
pub compact_threshold: Option<u64>,
pub auth: Option<String>,
pub azure_scope: Option<String>,
pub azure_credentials: Option<String>,
}Fields§
§name: String§model: String§provider: ProviderType§base_url: Option<String>§api_key_env: Option<String>§compact_threshold: Option<u64>§auth: Option<String>§azure_scope: Option<String>AAD scope for auth = "azure-ad" (defaults to the Cognitive Services scope).
azure_credentials: Option<String>Azure credential chain selector for auth = "azure-ad": "dev", "prod", or unset.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReviewerConfig
impl<'de> Deserialize<'de> for ReviewerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReviewerConfig
impl RefUnwindSafe for ReviewerConfig
impl Send for ReviewerConfig
impl Sync for ReviewerConfig
impl Unpin for ReviewerConfig
impl UnsafeUnpin for ReviewerConfig
impl UnwindSafe for ReviewerConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more