Skip to content
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions async-openai/src/types/responses/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1702,8 +1702,8 @@ pub enum WebSearchToolCallAction {
Search(WebSearchActionSearch),
/// Action type "open_page" - Opens a specific URL from search results.
OpenPage(WebSearchActionOpenPage),
/// Action type "find": Searches for a pattern within a loaded page.
Find(WebSearchActionFind),
/// Action type "find_in_page": Searches for a pattern within a loaded page.
FindInPage(WebSearchActionFind),
}

/// Web search tool call output.
Expand Down
1 change: 1 addition & 0 deletions async-openai/src/types/shared/response_format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pub struct ResponseFormatJsonSchema {
#[serde(skip_serializing_if = "Option::is_none")]
pub description: Option<String>,
/// The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
#[serde(default)]
pub name: String,
/// The schema for the response format, described as a JSON Schema object.
/// Learn how to build JSON schemas [here](https://json-schema.org/).
Expand Down