Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions async-openai/src/types/responses/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2001,8 +2001,11 @@ pub struct WebSearchActionOpenPage {

#[derive(Debug, Serialize, Deserialize, Clone, PartialEq)]
pub struct WebSearchActionFind {
/// The URL of the page searched for the pattern.
pub url: String,
/// The URL of the page searched for the pattern. Optional: the API omits it
/// for `find` / `find_in_page` actions that continue within a page already
/// opened by a prior `open_page` action. Mirrors the already-optional
/// `WebSearchActionOpenPage::url`.
pub url: Option<String>,
/// The pattern or text to search for within the page.
pub pattern: String,
}
Expand Down