pub struct AiAuditorConfig {
pub provider: String,
pub model: String,
pub temperature: f64,
pub max_tokens: u32,
pub min_confidence: f64,
pub api_key: Option<String>,
pub ollama_endpoint: Option<String>,
pub full_audit: bool,
}Expand description
Configuration for AI auditors.
Fields§
§provider: StringProvider type: “openai”, “claude”, “ollama”.
model: StringModel identifier (e.g. “gpt-5”, “claude-5-sonnet-20260701”).
temperature: f64Sampling temperature (0.0–1.0).
max_tokens: u32Maximum tokens per response.
min_confidence: f64Minimum confidence (0.0–1.0) for a finding to be included.
api_key: Option<String>Optional API key override. Reads from env var when None.
ollama_endpoint: Option<String>Optional Ollama endpoint override.
full_audit: boolWhether to include gas and logic auditors in addition to security.
Trait Implementations§
Source§impl Clone for AiAuditorConfig
impl Clone for AiAuditorConfig
Source§fn clone(&self) -> AiAuditorConfig
fn clone(&self) -> AiAuditorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AiAuditorConfig
impl Debug for AiAuditorConfig
Auto Trait Implementations§
impl Freeze for AiAuditorConfig
impl RefUnwindSafe for AiAuditorConfig
impl Send for AiAuditorConfig
impl Sync for AiAuditorConfig
impl Unpin for AiAuditorConfig
impl UnsafeUnpin for AiAuditorConfig
impl UnwindSafe for AiAuditorConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more