pub struct IntelConfig {
pub uri: String,
pub token: Option<String>,
pub model: Option<String>,
pub headers: Vec<(String, String)>,
pub aws_auth: Option<AuthSpec>,
pub dialect: Option<String>,
}Fields§
§uri: String§token: Option<String>§model: Option<String>§headers: Vec<(String, String)>The resolved intelligence.headers — arbitrary per-dial headers, such as
a gateway routing header. A value may itself resolve a secret, so these
ride the payload already resolved and are never logged. Empty by default.
aws_auth: Option<AuthSpec>An intelligence.auth: { kind: aws } spec so the child can SigV4-sign
the LLM dial. Carries no secret: the credentials are fetched from the
environment, IMDS, IRSA, or the SSO cache at dial time. None when the
endpoint is not AWS-signed.
dialect: Option<String>The wire dialect: openai (default), anthropic, or bedrock. None
means the OpenAI-compatible request shape.
Trait Implementations§
Source§impl Clone for IntelConfig
impl Clone for IntelConfig
Source§fn clone(&self) -> IntelConfig
fn clone(&self) -> IntelConfig
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 IntelConfig
impl Debug for IntelConfig
Source§impl<'de> Deserialize<'de> for IntelConfig
impl<'de> Deserialize<'de> for IntelConfig
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 IntelConfig
impl RefUnwindSafe for IntelConfig
impl Send for IntelConfig
impl Sync for IntelConfig
impl Unpin for IntelConfig
impl UnsafeUnpin for IntelConfig
impl UnwindSafe for IntelConfig
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