pub struct ListRunStepsParams {
pub thread_id: String,
pub run_id: String,
pub limit: Option<i64>,
pub order: Option<ListRunStepsParamsOrder>,
pub after: Option<String>,
pub before: Option<String>,
pub include: Option<Vec<ListRunStepsParamsInclude>>,
}
Fields§
§thread_id: String
The ID of the thread the run and run steps belong to.
run_id: String
The ID of the run the run steps belong to.
limit: Option<i64>
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
order: Option<ListRunStepsParamsOrder>
Sort order by the created_at
timestamp of the objects. asc
for ascending order and desc
for descending order.
after: Option<String>
A cursor for use in pagination. after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
before: Option<String>
A cursor for use in pagination. before
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_foo, your subsequent call can include before=obj_foo in order to fetch the previous page of the list.
include: Option<Vec<ListRunStepsParamsInclude>>
A list of additional fields to include in the response. Currently the only supported value is step_details.tool_calls[*].file_search.results[*].content
to fetch the file search result content.
See the file search tool documentation for more information.
Implementations§
Source§impl ListRunStepsParams
impl ListRunStepsParams
Sourcepub fn builder() -> ListRunStepsParamsBuilder<((), (), (), (), (), (), ())>
pub fn builder() -> ListRunStepsParamsBuilder<((), (), (), (), (), (), ())>
Create a builder for building ListRunStepsParams
.
On the builder, call .thread_id(...)
, .run_id(...)
, .limit(...)
(optional), .order(...)
(optional), .after(...)
(optional), .before(...)
(optional), .include(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ListRunStepsParams
.
Trait Implementations§
Source§impl Clone for ListRunStepsParams
impl Clone for ListRunStepsParams
Source§fn clone(&self) -> ListRunStepsParams
fn clone(&self) -> ListRunStepsParams
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more