We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43c744b commit 8a05a53Copy full SHA for 8a05a53
async-openai/src/types/chat.rs
@@ -847,6 +847,7 @@ pub struct CreateChatCompletionRequest {
847
848
/// This tool searches the web for relevant results to use in a response.
849
/// Learn more about the [web search tool](https://platform.openai.com/docs/guides/tools-web-search?api-mode=chat).
850
+ #[serde(skip_serializing_if = "Option::is_none")]
851
pub web_search_options: Option<WebSearchOptions>,
852
853
/// Deprecated in favor of `tool_choice`.
0 commit comments