pub enum LlmProviderKind {
Anthropic,
ClaudeCode,
CodexCli,
}Expand description
Supported LLM providers. Settings::model.provider is a string for
JSON-friendliness; this enum is the parsed form.
Variants§
Anthropic
Direct HTTPS call to api.anthropic.com. Requires an API key
(env ANTHROPIC_API_KEY or auth.json::anthropic.key).
ClaudeCode
Shells out to the locally-installed claude binary
(Claude Code CLI). The CLI handles its own authentication;
capo’s Auth is not consulted. Requires claude on $PATH.
CodexCli
Shells out to the locally-installed codex binary
(OpenAI Codex CLI). The CLI handles its own authentication;
capo’s Auth is not consulted. Requires codex on $PATH.
Implementations§
Trait Implementations§
Source§impl Clone for LlmProviderKind
impl Clone for LlmProviderKind
Source§fn clone(&self) -> LlmProviderKind
fn clone(&self) -> LlmProviderKind
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 LlmProviderKind
impl Debug for LlmProviderKind
Source§impl PartialEq for LlmProviderKind
impl PartialEq for LlmProviderKind
Source§fn eq(&self, other: &LlmProviderKind) -> bool
fn eq(&self, other: &LlmProviderKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LlmProviderKind
impl Eq for LlmProviderKind
impl StructuralPartialEq for LlmProviderKind
Auto Trait Implementations§
impl Freeze for LlmProviderKind
impl RefUnwindSafe for LlmProviderKind
impl Send for LlmProviderKind
impl Sync for LlmProviderKind
impl Unpin for LlmProviderKind
impl UnsafeUnpin for LlmProviderKind
impl UnwindSafe for LlmProviderKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.