@ai-sdk/gateway 4.0.0-beta.27 → 4.0.0-beta.28
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 +8 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -293,7 +293,7 @@ interface PerplexitySearchInput {
|
|
|
293
293
|
search_recency_filter?: 'day' | 'week' | 'month' | 'year';
|
|
294
294
|
}
|
|
295
295
|
type PerplexitySearchOutput = PerplexitySearchResponse | PerplexitySearchError;
|
|
296
|
-
declare const perplexitySearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<PerplexitySearchInput, PerplexitySearchOutput, PerplexitySearchConfig>;
|
|
296
|
+
declare const perplexitySearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<PerplexitySearchInput, PerplexitySearchOutput, PerplexitySearchConfig, {}>;
|
|
297
297
|
|
|
298
298
|
interface ParallelSearchSourcePolicy {
|
|
299
299
|
/**
|
|
@@ -426,7 +426,7 @@ interface ParallelSearchInput {
|
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
428
|
type ParallelSearchOutput = ParallelSearchResponse | ParallelSearchError;
|
|
429
|
-
declare const parallelSearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<ParallelSearchInput, ParallelSearchOutput, ParallelSearchConfig>;
|
|
429
|
+
declare const parallelSearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<ParallelSearchInput, ParallelSearchOutput, ParallelSearchConfig, {}>;
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
432
|
* Gateway-specific provider-defined tools.
|
package/dist/index.d.ts
CHANGED
|
@@ -293,7 +293,7 @@ interface PerplexitySearchInput {
|
|
|
293
293
|
search_recency_filter?: 'day' | 'week' | 'month' | 'year';
|
|
294
294
|
}
|
|
295
295
|
type PerplexitySearchOutput = PerplexitySearchResponse | PerplexitySearchError;
|
|
296
|
-
declare const perplexitySearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<PerplexitySearchInput, PerplexitySearchOutput, PerplexitySearchConfig>;
|
|
296
|
+
declare const perplexitySearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<PerplexitySearchInput, PerplexitySearchOutput, PerplexitySearchConfig, {}>;
|
|
297
297
|
|
|
298
298
|
interface ParallelSearchSourcePolicy {
|
|
299
299
|
/**
|
|
@@ -426,7 +426,7 @@ interface ParallelSearchInput {
|
|
|
426
426
|
};
|
|
427
427
|
}
|
|
428
428
|
type ParallelSearchOutput = ParallelSearchResponse | ParallelSearchError;
|
|
429
|
-
declare const parallelSearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<ParallelSearchInput, ParallelSearchOutput, ParallelSearchConfig>;
|
|
429
|
+
declare const parallelSearchToolFactory: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<ParallelSearchInput, ParallelSearchOutput, ParallelSearchConfig, {}>;
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
432
|
* Gateway-specific provider-defined tools.
|
package/dist/index.js
CHANGED
|
@@ -1525,7 +1525,7 @@ async function getVercelRequestId() {
|
|
|
1525
1525
|
var import_provider_utils14 = require("@ai-sdk/provider-utils");
|
|
1526
1526
|
|
|
1527
1527
|
// src/version.ts
|
|
1528
|
-
var VERSION = true ? "4.0.0-beta.
|
|
1528
|
+
var VERSION = true ? "4.0.0-beta.28" : "0.0.0-test";
|
|
1529
1529
|
|
|
1530
1530
|
// src/gateway-provider.ts
|
|
1531
1531
|
var AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
|
package/dist/index.mjs
CHANGED
|
@@ -1559,7 +1559,7 @@ async function getVercelRequestId() {
|
|
|
1559
1559
|
import { withUserAgentSuffix } from "@ai-sdk/provider-utils";
|
|
1560
1560
|
|
|
1561
1561
|
// src/version.ts
|
|
1562
|
-
var VERSION = true ? "4.0.0-beta.
|
|
1562
|
+
var VERSION = true ? "4.0.0-beta.28" : "0.0.0-test";
|
|
1563
1563
|
|
|
1564
1564
|
// src/gateway-provider.ts
|
|
1565
1565
|
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": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.28",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@vercel/oidc": "3.2.0",
|
|
34
34
|
"@ai-sdk/provider": "4.0.0-beta.5",
|
|
35
|
-
"@ai-sdk/provider-utils": "5.0.0-beta.
|
|
35
|
+
"@ai-sdk/provider-utils": "5.0.0-beta.8"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/node": "18.15.11",
|