pub struct Config {
pub openai_api_key: Option<String>,
pub anthropic_api_key: Option<String>,
pub default_model: Option<String>,
}Expand description
GENT configuration
Fields§
§openai_api_key: Option<String>§anthropic_api_key: Option<String>§default_model: Option<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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