@@ -231,7 +231,7 @@ def extract(
231231 self ,
232232 * ,
233233 urls : SequenceNotStr [str ],
234- advanced : Optional [AdvancedExtractSettingsParam ] | Omit = omit ,
234+ advanced_settings : Optional [AdvancedExtractSettingsParam ] | Omit = omit ,
235235 client_model : Optional [str ] | Omit = omit ,
236236 max_chars_total : Optional [int ] | Omit = omit ,
237237 objective : Optional [str ] | Omit = omit ,
@@ -249,7 +249,7 @@ def extract(
249249 Args:
250250 urls: URLs to extract content from. Up to 20 URLs.
251251
252- advanced : Advanced extract configuration.
252+ advanced_settings : Advanced extract configuration.
253253
254254 client_model: The model generating this request and consuming the results. Enables
255255 optimizations and tailors default settings for the model's capabilities.
@@ -278,7 +278,7 @@ def extract(
278278 body = maybe_transform (
279279 {
280280 "urls" : urls ,
281- "advanced " : advanced ,
281+ "advanced_settings " : advanced_settings ,
282282 "client_model" : client_model ,
283283 "max_chars_total" : max_chars_total ,
284284 "objective" : objective ,
@@ -296,7 +296,7 @@ def search(
296296 self ,
297297 * ,
298298 search_queries : SequenceNotStr [str ],
299- advanced : Optional [AdvancedSearchSettingsParam ] | Omit = omit ,
299+ advanced_settings : Optional [AdvancedSearchSettingsParam ] | Omit = omit ,
300300 client_model : Optional [str ] | Omit = omit ,
301301 max_chars_total : Optional [int ] | Omit = omit ,
302302 mode : Optional [Literal ["basic" , "standard" ]] | Omit = omit ,
@@ -316,7 +316,7 @@ def search(
316316 provide 2-3 for best results. Used together with objective to focus results on
317317 the most relevant content.
318318
319- advanced : Advanced search configuration.
319+ advanced_settings : Advanced search configuration.
320320
321321 client_model: The model generating this request and consuming the results. Enables
322322 optimizations and tailors default settings for the model's capabilities.
@@ -327,6 +327,7 @@ def search(
327327 mode: Search mode preset: supported values are basic and standard. Basic mode offers
328328 the lowest latency and works best with 2-3 high-quality search_queries. Standard
329329 mode provides higher quality with more advanced retrieval and compression.
330+ Defaults to standard when omitted.
330331
331332 objective: Natural-language description of the underlying question or goal driving the
332333 search. Used together with search_queries to focus results on the most relevant
@@ -346,7 +347,7 @@ def search(
346347 body = maybe_transform (
347348 {
348349 "search_queries" : search_queries ,
349- "advanced " : advanced ,
350+ "advanced_settings " : advanced_settings ,
350351 "client_model" : client_model ,
351352 "max_chars_total" : max_chars_total ,
352353 "mode" : mode ,
@@ -556,7 +557,7 @@ async def extract(
556557 self ,
557558 * ,
558559 urls : SequenceNotStr [str ],
559- advanced : Optional [AdvancedExtractSettingsParam ] | Omit = omit ,
560+ advanced_settings : Optional [AdvancedExtractSettingsParam ] | Omit = omit ,
560561 client_model : Optional [str ] | Omit = omit ,
561562 max_chars_total : Optional [int ] | Omit = omit ,
562563 objective : Optional [str ] | Omit = omit ,
@@ -574,7 +575,7 @@ async def extract(
574575 Args:
575576 urls: URLs to extract content from. Up to 20 URLs.
576577
577- advanced : Advanced extract configuration.
578+ advanced_settings : Advanced extract configuration.
578579
579580 client_model: The model generating this request and consuming the results. Enables
580581 optimizations and tailors default settings for the model's capabilities.
@@ -603,7 +604,7 @@ async def extract(
603604 body = await async_maybe_transform (
604605 {
605606 "urls" : urls ,
606- "advanced " : advanced ,
607+ "advanced_settings " : advanced_settings ,
607608 "client_model" : client_model ,
608609 "max_chars_total" : max_chars_total ,
609610 "objective" : objective ,
@@ -621,7 +622,7 @@ async def search(
621622 self ,
622623 * ,
623624 search_queries : SequenceNotStr [str ],
624- advanced : Optional [AdvancedSearchSettingsParam ] | Omit = omit ,
625+ advanced_settings : Optional [AdvancedSearchSettingsParam ] | Omit = omit ,
625626 client_model : Optional [str ] | Omit = omit ,
626627 max_chars_total : Optional [int ] | Omit = omit ,
627628 mode : Optional [Literal ["basic" , "standard" ]] | Omit = omit ,
@@ -641,7 +642,7 @@ async def search(
641642 provide 2-3 for best results. Used together with objective to focus results on
642643 the most relevant content.
643644
644- advanced : Advanced search configuration.
645+ advanced_settings : Advanced search configuration.
645646
646647 client_model: The model generating this request and consuming the results. Enables
647648 optimizations and tailors default settings for the model's capabilities.
@@ -652,6 +653,7 @@ async def search(
652653 mode: Search mode preset: supported values are basic and standard. Basic mode offers
653654 the lowest latency and works best with 2-3 high-quality search_queries. Standard
654655 mode provides higher quality with more advanced retrieval and compression.
656+ Defaults to standard when omitted.
655657
656658 objective: Natural-language description of the underlying question or goal driving the
657659 search. Used together with search_queries to focus results on the most relevant
@@ -671,7 +673,7 @@ async def search(
671673 body = await async_maybe_transform (
672674 {
673675 "search_queries" : search_queries ,
674- "advanced " : advanced ,
676+ "advanced_settings " : advanced_settings ,
675677 "client_model" : client_model ,
676678 "max_chars_total" : max_chars_total ,
677679 "mode" : mode ,
0 commit comments