diff --git a/async-openai/src/types/responses/response.rs b/async-openai/src/types/responses/response.rs index 959d952d..8012ebbe 100644 --- a/async-openai/src/types/responses/response.rs +++ b/async-openai/src/types/responses/response.rs @@ -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, /// The pattern or text to search for within the page. pub pattern: String, }