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 (RFC 0031) — arbitrary per-dial
headers (e.g. a gateway routing header). Secret-free at rest is not
guaranteed (values may resolve secrets), so this rides the payload
resolved and is never logged. Empty by default.
aws_auth: Option<AuthSpec>An intelligence.auth: { kind: aws } spec (RFC 0031) so the child can
SigV4-sign the LLM dial. Secret-free (creds come from env/imds/irsa/the
SSO cache at dial time). None for the non-AWS path.
dialect: Option<String>The wire dialect (RFC 0031 §8): openai (default), anthropic, or
bedrock. None ⇒ OpenAI-compatible (the byte-identical legacy path).
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