pub struct VisionConfig {
pub mode: VisionMode,
pub route: String,
pub allow_cloud: bool,
}Expand description
[skills]: how much of the prompt the skills index may take.
One field, because one thing reads it. Where skills are searched is fixed by the layout
(shared, profile, workspace, plugins), and a skill is off by being absent; a dirs or
enabled key would be a setting nothing consumes.
[vision]: what happens to a picture on a turn (#346).
Fields§
§mode: VisionModenative, text or auto. The default is auto: a model that declares vision gets the
bytes, a model that does not gets a description instead.
route: StringThe route that describes pictures, for text and for auto’s fallback. Empty means there
is none, which makes text a refusal rather than a silent no-op.
allow_cloud: boolLet a description leave this machine. Off by default: a screenshot is the most private thing this agent touches, and “it went to an API once” cannot be undone by reading a log.
Trait Implementations§
Source§impl Clone for VisionConfig
impl Clone for VisionConfig
Source§impl Debug for VisionConfig
impl Debug for VisionConfig
Source§impl Default for VisionConfig
impl Default for VisionConfig
Source§impl<'de> Deserialize<'de> for VisionConfigwhere
VisionConfig: Default,
impl<'de> Deserialize<'de> for VisionConfigwhere
VisionConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for VisionConfig
Source§impl PartialEq for VisionConfig
impl PartialEq for VisionConfig
Source§impl Serialize for VisionConfig
impl Serialize for VisionConfig
impl StructuralPartialEq for VisionConfig
Auto Trait Implementations§
impl Forget for VisionConfig
impl Freeze for VisionConfig
impl Move for VisionConfig
impl RefUnwindSafe for VisionConfig
impl Send for VisionConfigwhere
RawVecInner: Send,
impl Sync for VisionConfigwhere
RawVecInner: Sync,
impl Unpin for VisionConfig
impl UnsafeUnpin for VisionConfig
impl UnwindSafe for VisionConfigwhere
RawVecInner: UnwindSafe,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.