Skip to content

Commit 1bef580

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#617)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 7b948e9 commit 1bef580

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6133,6 +6133,8 @@ components:
61336133
description: 'Maximum number of web searches the model may perform in a single request. Once reached, further search calls return an error result instead of executing. Applies to the Exa, Firecrawl, Parallel, and Perplexity engines. With native provider search, forwarded only to Anthropic (as `max_uses`); other native search providers have no equivalent parameter and ignore it.'
61346134
example: 3
61356135
type: 'integer'
6136+
mode:
6137+
$ref: '#/components/schemas/WebSearchMode'
61366138
parameters:
61376139
$ref: '#/components/schemas/WebSearchConfig'
61386140
search_context_size:
@@ -11354,6 +11356,8 @@ components:
1135411356
description: 'Maximum number of web searches the model may perform in a single request. Once reached, further search calls return an error result instead of executing. Applies to the Exa, Firecrawl, Parallel, and Perplexity engines. With native provider search, forwarded only to Anthropic (as `max_uses`); other native search providers have no equivalent parameter and ignore it.'
1135511357
example: 3
1135611358
type: 'integer'
11359+
mode:
11360+
$ref: '#/components/schemas/WebSearchMode'
1135711361
search_context_size:
1135811362
$ref: '#/components/schemas/SearchContextSizeEnum'
1135911363
type:
@@ -19712,6 +19716,8 @@ components:
1971219716
description: 'Maximum number of web searches the model may perform in a single request. Once reached, further search calls return an error result instead of executing. Applies to the Exa, Firecrawl, Parallel, and Perplexity engines. With native provider search, forwarded only to Anthropic (as `max_uses`); other native search providers have no equivalent parameter and ignore it.'
1971319717
example: 3
1971419718
type: 'integer'
19719+
mode:
19720+
$ref: '#/components/schemas/WebSearchMode'
1971519721
search_context_size:
1971619722
$ref: '#/components/schemas/SearchContextSizeEnum'
1971719723
type:
@@ -19740,6 +19746,8 @@ components:
1974019746
description: 'Maximum number of web searches the model may perform in a single request. Once reached, further search calls return an error result instead of executing. Applies to the Exa, Firecrawl, Parallel, and Perplexity engines. With native provider search, forwarded only to Anthropic (as `max_uses`); other native search providers have no equivalent parameter and ignore it.'
1974119747
example: 3
1974219748
type: 'integer'
19749+
mode:
19750+
$ref: '#/components/schemas/WebSearchMode'
1974319751
search_context_size:
1974419752
$ref: '#/components/schemas/SearchContextSizeEnum'
1974519753
type:
@@ -25163,6 +25171,8 @@ components:
2516325171
description: 'Maximum number of web searches the model may perform in a single request. Once reached, further search calls return an error result instead of executing. Applies to the Exa, Firecrawl, Parallel, and Perplexity engines. With native provider search, forwarded only to Anthropic (as `max_uses`); other native search providers have no equivalent parameter and ignore it.'
2516425172
example: 3
2516525173
type: 'integer'
25174+
mode:
25175+
$ref: '#/components/schemas/WebSearchMode'
2516625176
search_context_size:
2516725177
$ref: '#/components/schemas/SearchQualityLevel'
2516825178
user_location:
@@ -25219,6 +25229,20 @@ components:
2521925229
- 'auto'
2522025230
example: 'auto'
2522125231
type: 'string'
25232+
WebSearchMode:
25233+
description: 'Engine-native search mode. Exa supports instant, fast, auto (default), deep-lite, deep, and deep-reasoning. Parallel supports turbo (default), basic, and advanced. Modes unsupported by the selected engine are ignored.'
25234+
enum:
25235+
- 'instant'
25236+
- 'fast'
25237+
- 'auto'
25238+
- 'deep-lite'
25239+
- 'deep'
25240+
- 'deep-reasoning'
25241+
- 'turbo'
25242+
- 'basic'
25243+
- 'advanced'
25244+
example: 'auto'
25245+
type: 'string'
2522225246
WebSearchPlugin:
2522325247
example:
2522425248
enabled: true
@@ -25257,6 +25281,8 @@ components:
2525725281
max_uses:
2525825282
description: 'Maximum number of times the model can invoke web search in a single turn. Passed through to native providers that support it (e.g. Anthropic).'
2525925283
type: 'integer'
25284+
mode:
25285+
$ref: '#/components/schemas/WebSearchMode'
2526025286
search_prompt:
2526125287
type: 'string'
2526225288
user_location:
@@ -25295,6 +25321,8 @@ components:
2529525321
description: 'Maximum number of web searches the model may perform in a single request. Once reached, further search calls return an error result instead of executing. Applies to the Exa, Firecrawl, Parallel, and Perplexity engines. With native provider search, forwarded only to Anthropic (as `max_uses`); other native search providers have no equivalent parameter and ignore it.'
2529625322
example: 3
2529725323
type: 'integer'
25324+
mode:
25325+
$ref: '#/components/schemas/WebSearchMode'
2529825326
search_context_size:
2529925327
$ref: '#/components/schemas/SearchContextSizeEnum'
2530025328
type:
@@ -25356,6 +25384,8 @@ components:
2535625384
description: 'Maximum number of web searches the model may perform in a single request. Once reached, further search calls return an error result instead of executing. Applies to the Exa, Firecrawl, Parallel, and Perplexity engines. With native provider search, forwarded only to Anthropic (as `max_uses`); other native search providers have no equivalent parameter and ignore it.'
2535725385
example: 3
2535825386
type: 'integer'
25387+
mode:
25388+
$ref: '#/components/schemas/WebSearchMode'
2535925389
search_context_size:
2536025390
$ref: '#/components/schemas/SearchQualityLevel'
2536125391
user_location:

0 commit comments

Comments
 (0)