@ai-sdk/gateway 2.0.78 → 2.0.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/gateway
2
2
 
3
+ ## 2.0.79
4
+
5
+ ### Patch Changes
6
+
7
+ - d4fbea5: feat (provider/gateway): add sort options
8
+
3
9
  ## 2.0.78
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -472,6 +472,7 @@ declare const gateway: GatewayProvider;
472
472
  declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
473
473
  only?: string[] | undefined;
474
474
  order?: string[] | undefined;
475
+ sort?: "cost" | "ttft" | "tps" | undefined;
475
476
  user?: string | undefined;
476
477
  tags?: string[] | undefined;
477
478
  models?: string[] | undefined;
package/dist/index.d.ts CHANGED
@@ -472,6 +472,7 @@ declare const gateway: GatewayProvider;
472
472
  declare const gatewayProviderOptions: _ai_sdk_provider_utils.LazyValidator<{
473
473
  only?: string[] | undefined;
474
474
  order?: string[] | undefined;
475
+ sort?: "cost" | "ttft" | "tps" | undefined;
475
476
  user?: string | undefined;
476
477
  tags?: string[] | undefined;
477
478
  models?: string[] | undefined;
package/dist/index.js CHANGED
@@ -1180,7 +1180,7 @@ async function getVercelRequestId() {
1180
1180
  var import_provider_utils12 = require("@ai-sdk/provider-utils");
1181
1181
 
1182
1182
  // src/version.ts
1183
- var VERSION = true ? "2.0.78" : "0.0.0-test";
1183
+ var VERSION = true ? "2.0.79" : "0.0.0-test";
1184
1184
 
1185
1185
  // src/gateway-provider.ts
1186
1186
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/dist/index.mjs CHANGED
@@ -1199,7 +1199,7 @@ async function getVercelRequestId() {
1199
1199
  import { withUserAgentSuffix } from "@ai-sdk/provider-utils";
1200
1200
 
1201
1201
  // src/version.ts
1202
- var VERSION = true ? "2.0.78" : "0.0.0-test";
1202
+ var VERSION = true ? "2.0.79" : "0.0.0-test";
1203
1203
 
1204
1204
  // src/gateway-provider.ts
1205
1205
  var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ai-sdk/gateway",
3
3
  "private": false,
4
- "version": "2.0.78",
4
+ "version": "2.0.79",
5
5
  "license": "Apache-2.0",
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",