pub struct AnthropicSettings {
pub base_url: String,
}Fields§
§base_url: StringBase URL for the Anthropic HTTP API. Defaults to the public endpoint;
override via CAPO_ANTHROPIC_BASE_URL env or anthropic.base_url in
settings.json to route through a corporate proxy or test server.
Only consulted when model.provider == "anthropic" (CLI providers
shell out to their own binaries and ignore this).
Trait Implementations§
Source§impl Clone for AnthropicSettings
impl Clone for AnthropicSettings
Source§fn clone(&self) -> AnthropicSettings
fn clone(&self) -> AnthropicSettings
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 AnthropicSettings
impl Debug for AnthropicSettings
Source§impl Default for AnthropicSettings
impl Default for AnthropicSettings
Source§impl<'de> Deserialize<'de> for AnthropicSettings
impl<'de> Deserialize<'de> for AnthropicSettings
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
Source§impl PartialEq for AnthropicSettings
impl PartialEq for AnthropicSettings
Source§fn eq(&self, other: &AnthropicSettings) -> bool
fn eq(&self, other: &AnthropicSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnthropicSettings
impl Serialize for AnthropicSettings
impl StructuralPartialEq for AnthropicSettings
Auto Trait Implementations§
impl Freeze for AnthropicSettings
impl RefUnwindSafe for AnthropicSettings
impl Send for AnthropicSettings
impl Sync for AnthropicSettings
impl Unpin for AnthropicSettings
impl UnsafeUnpin for AnthropicSettings
impl UnwindSafe for AnthropicSettings
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