ai 6.0.182 → 6.0.183
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
package/dist/index.js
CHANGED
|
@@ -1254,7 +1254,7 @@ function detectMediaType({
|
|
|
1254
1254
|
var import_provider_utils3 = require("@ai-sdk/provider-utils");
|
|
1255
1255
|
|
|
1256
1256
|
// src/version.ts
|
|
1257
|
-
var VERSION = true ? "6.0.
|
|
1257
|
+
var VERSION = true ? "6.0.183" : "0.0.0-test";
|
|
1258
1258
|
|
|
1259
1259
|
// src/util/download/download.ts
|
|
1260
1260
|
var download = async ({
|
package/dist/index.mjs
CHANGED
|
@@ -1144,7 +1144,7 @@ import {
|
|
|
1144
1144
|
} from "@ai-sdk/provider-utils";
|
|
1145
1145
|
|
|
1146
1146
|
// src/version.ts
|
|
1147
|
-
var VERSION = true ? "6.0.
|
|
1147
|
+
var VERSION = true ? "6.0.183" : "0.0.0-test";
|
|
1148
1148
|
|
|
1149
1149
|
// src/util/download/download.ts
|
|
1150
1150
|
var download = async ({
|
package/dist/internal/index.js
CHANGED
|
@@ -152,7 +152,7 @@ function detectMediaType({
|
|
|
152
152
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
153
153
|
|
|
154
154
|
// src/version.ts
|
|
155
|
-
var VERSION = true ? "6.0.
|
|
155
|
+
var VERSION = true ? "6.0.183" : "0.0.0-test";
|
|
156
156
|
|
|
157
157
|
// src/util/download/download.ts
|
|
158
158
|
var download = async ({
|
package/dist/internal/index.mjs
CHANGED
|
@@ -103,7 +103,7 @@ Allows you to create text completion based capabilities for your application. It
|
|
|
103
103
|
type: "'text' | 'data'",
|
|
104
104
|
isOptional: true,
|
|
105
105
|
description:
|
|
106
|
-
'An optional literal that sets the type of stream to be used. Defaults to `data`. If set to `text`, the stream will be treated as a text stream.',
|
|
106
|
+
'An optional literal that sets the type of stream to be used. Defaults to `data`. If set to `text`, the stream will be treated as a text stream. Note that with either protocol, `useCompletion` only exposes text content via the `completion` field — non-text parts (e.g. `data-*` parts) emitted by the server are ignored. Use `useChat` if you need access to those parts.',
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
109
|
name: 'fetch',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.183",
|
|
4
4
|
"description": "AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@opentelemetry/api": "^1.9.0",
|
|
48
|
-
"@ai-sdk/gateway": "3.0.
|
|
48
|
+
"@ai-sdk/gateway": "3.0.115",
|
|
49
49
|
"@ai-sdk/provider": "3.0.10",
|
|
50
50
|
"@ai-sdk/provider-utils": "4.0.27"
|
|
51
51
|
},
|