pub enum AiBackend {
Default,
ClaudeCli,
}Expand description
AI backend selector.
Variants§
Default
Default backend dispatch (HTTP to Anthropic/Bedrock/OpenAI/Ollama via
the existing USE_* env vars).
ClaudeCli
Shell out to the claude -p CLI (reuses an existing Claude Code auth
session). Equivalent to setting OMNI_DEV_AI_BACKEND=claude-cli.
Trait Implementations§
impl Copy for AiBackend
Auto Trait Implementations§
impl Freeze for AiBackend
impl RefUnwindSafe for AiBackend
impl Send for AiBackend
impl Sync for AiBackend
impl Unpin for AiBackend
impl UnsafeUnpin for AiBackend
impl UnwindSafe for AiBackend
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