pub struct GetRunResponsePendingInput {
pub question: Option<String>,
pub context: Option<String>,
pub tool_call_id: Option<String>,
pub options: Option<Vec<Value>>,
}Expand description
The question the run is blocked on, taken from the most recent run.awaiting_input event
(runs.ts:673-681). Like pending_approvals it is ABSENT rather than empty when the run is
not awaiting input. A squad chat reads this to render the prompt; the document never
mentioned it, so a client written from the document alone showed a blocked run as merely
running.
Fields§
§question: Option<String>§context: Option<String>§tool_call_id: Option<String>§options: Option<Vec<Value>>Trait Implementations§
Source§impl Clone for GetRunResponsePendingInput
impl Clone for GetRunResponsePendingInput
Source§fn clone(&self) -> GetRunResponsePendingInput
fn clone(&self) -> GetRunResponsePendingInput
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 GetRunResponsePendingInput
impl Debug for GetRunResponsePendingInput
Source§impl Default for GetRunResponsePendingInput
impl Default for GetRunResponsePendingInput
Source§fn default() -> GetRunResponsePendingInput
fn default() -> GetRunResponsePendingInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetRunResponsePendingInput
impl<'de> Deserialize<'de> for GetRunResponsePendingInput
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 StructuralPartialEq for GetRunResponsePendingInput
Auto Trait Implementations§
impl Freeze for GetRunResponsePendingInput
impl RefUnwindSafe for GetRunResponsePendingInput
impl Send for GetRunResponsePendingInput
impl Sync for GetRunResponsePendingInput
impl Unpin for GetRunResponsePendingInput
impl UnsafeUnpin for GetRunResponsePendingInput
impl UnwindSafe for GetRunResponsePendingInput
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