You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c70c686
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21776,6 +21776,11 @@ components:
21776
21776
- 'top_p'
21777
21777
- 'max_tokens'
21778
21778
supports_implicit_caching: true
21779
+
supports_tool_choice:
21780
+
auto: true
21781
+
function: true
21782
+
none: true
21783
+
required: true
21779
21784
supports_voice_cloning: false
21780
21785
tag: 'openai'
21781
21786
throughput_last_30m:
@@ -21879,6 +21884,8 @@ components:
21879
21884
type: 'array'
21880
21885
supports_implicit_caching:
21881
21886
type: 'boolean'
21887
+
supports_tool_choice:
21888
+
$ref: '#/components/schemas/ToolChoiceSupport'
21882
21889
supports_voice_cloning:
21883
21890
default: false
21884
21891
description: 'Whether this TTS endpoint accepts inline reference audio (`input_references`) for stateless voice cloning. Requests carrying reference audio are only routed to endpoints where this is true.'
@@ -21918,6 +21925,7 @@ components:
21918
21925
- 'max_completion_tokens'
21919
21926
- 'max_prompt_tokens'
21920
21927
- 'supported_parameters'
21928
+
- 'supports_tool_choice'
21921
21929
- 'uptime_last_30m'
21922
21930
- 'uptime_last_5m'
21923
21931
- 'uptime_last_1d'
@@ -24746,6 +24754,32 @@ components:
24746
24754
- 'mode'
24747
24755
- 'tools'
24748
24756
type: 'object'
24757
+
ToolChoiceSupport:
24758
+
description: 'Per-variant `tool_choice` support. `tool_choice` in `supported_parameters` only says the parameter is accepted; these flags say which of its values passed testing.'
24759
+
example:
24760
+
auto: true
24761
+
function: true
24762
+
none: true
24763
+
required: true
24764
+
properties:
24765
+
auto:
24766
+
description: 'Whether the endpoint supports `"tool_choice": "auto"`.'
24767
+
type: 'boolean'
24768
+
function:
24769
+
description: 'Whether the endpoint supports naming a function, `"tool_choice": {"type": "function", ...}`.'
24770
+
type: 'boolean'
24771
+
none:
24772
+
description: 'Whether the endpoint supports `"tool_choice": "none"`.'
24773
+
type: 'boolean'
24774
+
required:
24775
+
description: 'Whether the endpoint supports `"tool_choice": "required"`.'
24776
+
type: 'boolean'
24777
+
required:
24778
+
- 'none'
24779
+
- 'auto'
24780
+
- 'required'
24781
+
- 'function'
24782
+
type: 'object'
24749
24783
ToolSearchServerTool:
24750
24784
description: 'OpenRouter built-in server tool: finds tools marked `defer_loading` and makes them callable'
0 commit comments