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
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2772,6 +2772,40 @@ components:
2772
2772
- 'data'
2773
2773
- 'meta'
2774
2774
type: 'object'
2775
+
AutoBetaRouterPlugin:
2776
+
example:
2777
+
allowed_models:
2778
+
- 'anthropic/*'
2779
+
- 'openai/gpt-4o'
2780
+
cost_quality_tradeoff: 7
2781
+
enabled: true
2782
+
id: 'auto-beta-router'
2783
+
properties:
2784
+
allowed_models:
2785
+
description: 'List of model patterns to filter which models the auto-beta-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, uses the default supported models list.'
2786
+
example:
2787
+
- 'anthropic/*'
2788
+
- 'openai/gpt-4o'
2789
+
- 'google/*'
2790
+
items:
2791
+
type: 'string'
2792
+
type: 'array'
2793
+
cost_quality_tradeoff:
2794
+
description: 'Balances routing between cost and quality on a 0-10 scale. The auto-beta-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 7.'
2795
+
example: 7
2796
+
maximum: 10
2797
+
minimum: 0
2798
+
type: 'integer'
2799
+
enabled:
2800
+
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
0 commit comments