pub enum LlmProviderKind {
Anthropic,
ClaudeCode,
CodexCli,
Openai,
Gemini,
GeminiCli,
}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.
Openai
Direct HTTPS call to OpenAI’s API. Requires an API key
(env OPENAI_API_KEY or auth.json::openai.key).
Gemini
Direct HTTPS call to Google’s Gemini REST API. Requires an API key
(env GEMINI_API_KEY or auth.json::gemini.key).
GeminiCli
Shells out to the locally-installed gemini binary (Google’s
Gemini CLI). The CLI handles its own authentication; capo’s Auth
is not consulted. Requires gemini on $PATH.
Implementations§
Trait Implementations§
Source§impl Clone for LlmProviderKind
impl Clone for LlmProviderKind
Source§fn clone(&self) -> LlmProviderKind
fn clone(&self) -> LlmProviderKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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
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
key and return true if they are equal.