pub struct OneShotParams {
pub weight: String,
pub cwd: String,
pub system: String,
pub prompt: String,
pub model: String,
}Expand description
What engine/oneShot is told: one question, no session, no settings of the user’s, no MCP server.
Fields§
§weight: Stringlight (a short text, no tool) or reading (after reading its folder, tools that only read).
cwd: String§system: String§prompt: String§model: StringTrait Implementations§
Source§impl Clone for OneShotParams
impl Clone for OneShotParams
Source§impl Debug for OneShotParams
impl Debug for OneShotParams
Source§impl<'de> Deserialize<'de> for OneShotParams
impl<'de> Deserialize<'de> for OneShotParams
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for OneShotParams
Source§impl PartialEq for OneShotParams
impl PartialEq for OneShotParams
Source§impl Serialize for OneShotParams
impl Serialize for OneShotParams
impl StructuralPartialEq for OneShotParams
Auto Trait Implementations§
impl Freeze for OneShotParams
impl RefUnwindSafe for OneShotParams
impl Send for OneShotParams
impl Sync for OneShotParams
impl Unpin for OneShotParams
impl UnsafeUnpin for OneShotParams
impl UnwindSafe for OneShotParams
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