pub struct ConfigInfo {
pub provider: String,
pub model: String,
pub max_iterations: usize,
pub skill_autogen: bool,
}Expand description
Non-secret server configuration (GET /v1/config). Never carries keys.
Fields§
§provider: StringActive provider id.
model: StringActive default model id.
max_iterations: usizeLoop iteration cap.
skill_autogen: boolWhether skill auto-generation is on.
Trait Implementations§
Source§impl Clone for ConfigInfo
impl Clone for ConfigInfo
Source§fn clone(&self) -> ConfigInfo
fn clone(&self) -> ConfigInfo
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 ConfigInfo
impl Debug for ConfigInfo
Source§impl Default for ConfigInfo
impl Default for ConfigInfo
Source§fn default() -> ConfigInfo
fn default() -> ConfigInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConfigInfo
impl RefUnwindSafe for ConfigInfo
impl Send for ConfigInfo
impl Sync for ConfigInfo
impl Unpin for ConfigInfo
impl UnsafeUnpin for ConfigInfo
impl UnwindSafe for ConfigInfo
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