pub struct BrowserStepInput {
pub commands: Vec<Commands>,
pub headless: Option<bool>,
pub thinking: Option<String>,
pub evaluation_previous_goal: Option<String>,
pub memory: Option<String>,
pub next_goal: Option<String>,
}Expand description
Input for browser_step execution (tool parameters).
Fields§
§commands: Vec<Commands>Browser commands to execute
headless: Option<bool>Whether to run browser in headless mode
thinking: Option<String>Thinking/reasoning about current step
evaluation_previous_goal: Option<String>Evaluation of how well the previous goal was achieved
memory: Option<String>Memory/context to persist across steps
next_goal: Option<String>Next goal to achieve
Implementations§
Source§impl BrowserStepInput
impl BrowserStepInput
Sourcepub fn new(commands: Vec<Commands>) -> BrowserStepInput
pub fn new(commands: Vec<Commands>) -> BrowserStepInput
Create a new BrowserStepInput with commands only.
Sourcepub fn with_headless(self, headless: bool) -> BrowserStepInput
pub fn with_headless(self, headless: bool) -> BrowserStepInput
Set headless mode.
Trait Implementations§
Source§impl Clone for BrowserStepInput
impl Clone for BrowserStepInput
Source§fn clone(&self) -> BrowserStepInput
fn clone(&self) -> BrowserStepInput
Returns a duplicate of the value. Read more
1.0.0 · 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 BrowserStepInput
impl Debug for BrowserStepInput
Source§impl<'de> Deserialize<'de> for BrowserStepInput
impl<'de> Deserialize<'de> for BrowserStepInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BrowserStepInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BrowserStepInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for BrowserStepInput
impl JsonSchema for BrowserStepInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Serialize for BrowserStepInput
impl Serialize for BrowserStepInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BrowserStepInput
impl RefUnwindSafe for BrowserStepInput
impl Send for BrowserStepInput
impl Sync for BrowserStepInput
impl Unpin for BrowserStepInput
impl UnsafeUnpin for BrowserStepInput
impl UnwindSafe for BrowserStepInput
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